probes.yaml 1.39 KB
Newer Older
kaiyou's avatar
kaiyou committed
1
2
apiVersion: monitoring.coreos.com/v1
kind: Probe
kaiyou's avatar
kaiyou committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
metadata:
  name: probe-aegir-traefik
spec:
  jobName: aegir-traefik
  interval: 30s
  prober:
    url: hati.tedomum.in:80
    path: /metrics
  targets:
    staticConfig:
      static: ["hati.tedomum.in:80"]
---
apiVersion: monitoring.coreos.com/v1
kind: Probe
kaiyou's avatar
kaiyou committed
17
18
19
20
21
22
metadata:
  name: probe-matrix
spec:
  jobName: matrix
  interval: 60s
  prober:
kaiyou's avatar
kaiyou committed
23
    url: matrix.tedomum.net:443
kaiyou's avatar
kaiyou committed
24
25
    scheme: https
    path: /_synapse/metrics
kaiyou's avatar
kaiyou committed
26
27
28
  targets:
    staticConfig:
      static: ["matrix.tedomum.net:443"]
kaiyou's avatar
kaiyou committed
29
30
31
32
---
apiVersion: monitoring.coreos.com/v1
kind: Probe
metadata:
kaiyou's avatar
kaiyou committed
33
  name: probe-aegir-nodeexporter
kaiyou's avatar
kaiyou committed
34
spec:
kaiyou's avatar
kaiyou committed
35
  jobName: aegir-node
kaiyou's avatar
kaiyou committed
36
37
  interval: 30s
  prober:
kaiyou's avatar
kaiyou committed
38
    url: hati.tedomum.in:443
kaiyou's avatar
kaiyou committed
39
40
    scheme: https
    path: /nodeexporter/metrics
kaiyou's avatar
kaiyou committed
41
42
  targets:
    staticConfig:
kaiyou's avatar
kaiyou committed
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
      static: ["hati.tedomum.in:443"]
---
apiVersion: monitoring.coreos.com/v1
kind: Probe
metadata:
  name: probe-aegir-cadvisor
spec:
  jobName: aegir-cadvisor
  interval: 60s
  prober:
    url: hati.tedomum.in:443
    scheme: https
    path: /cadvisorexporter/metrics
  targets:
    staticConfig:
kaiyou's avatar
kaiyou committed
58
59
60
61
62
63
64
65
      static: ["hati.tedomum.in:443"]
      relabelingConfigs:
        - sourceLabels: ['container_label_com_docker_compose_project']
          targetLabel: app
        - source_labels: ['container_label_com_docker_compose_service']
          targetLabel: service
        - regex: container_.*
          action: labeldrop