summaryrefslogtreecommitdiff
path: root/kubernetes/monitoring.yml
blob: a0d113b64dde234621943f781f2549f7dd5a7019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: seven-wonders-prometheus-monitor
  namespace: seven-wonders
  labels:
    # this label is used by prometheus-operator to find ServiceMonitors
    release: prometheus-operator
spec:
  endpoints:
    - interval: 3s
      path: /actuator/prometheus
      port: 80-80
  namespaceSelector:
    any: true
  selector:
    matchLabels:
      app: seven-wonders
bgstack15