Add uptime kuma to prometheus
This commit is contained in:
commit
25a41142e9
15
manifests/alertmanager/monitoring.yaml
Normal file
15
manifests/alertmanager/monitoring.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
enabled: true
|
||||
app: alertmanager
|
||||
uptime_kuma:
|
||||
enabled: true
|
||||
url: https://alertmanager.dvirlabs.com
|
||||
tag: observability-stack
|
||||
external_check:
|
||||
url: https://alertmanager.dvirlabs.com
|
||||
expected_codes:
|
||||
'502': critical
|
||||
'404': warning
|
||||
'1033': critical
|
||||
# targets:
|
||||
# - <exporter-host>:<port>
|
||||
# scheme: http
|
||||
15
manifests/grafana/monitoring.yaml
Normal file
15
manifests/grafana/monitoring.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
enabled: true
|
||||
app: grafana
|
||||
uptime_kuma:
|
||||
enabled: true
|
||||
url: https://grafana.dvirlabs.com
|
||||
tag: observability-stack
|
||||
external_check:
|
||||
url: https://grafana.dvirlabs.com
|
||||
expected_codes:
|
||||
'502': critical
|
||||
'404': warning
|
||||
'1033': critical
|
||||
# targets:
|
||||
# - <exporter-host>:<port>
|
||||
# scheme: http
|
||||
15
manifests/kibana-int/monitoring.yaml
Normal file
15
manifests/kibana-int/monitoring.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
enabled: true
|
||||
app: kibana-int
|
||||
uptime_kuma:
|
||||
enabled: true
|
||||
url: https://kibana-int.dvirlabs.com
|
||||
tag: observability-stack
|
||||
external_check:
|
||||
url: https://kibana-int.dvirlabs.com
|
||||
expected_codes:
|
||||
'502': critical
|
||||
'404': warning
|
||||
'1033': critical
|
||||
# targets:
|
||||
# - <exporter-host>:<port>
|
||||
# scheme: http
|
||||
15
manifests/kibana/monitoring.yaml
Normal file
15
manifests/kibana/monitoring.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
enabled: true
|
||||
app: kibana
|
||||
uptime_kuma:
|
||||
enabled: true
|
||||
url: https://kibana.dvirlabs.com
|
||||
tag: observability-stack
|
||||
external_check:
|
||||
url: https://kibana.dvirlabs.com
|
||||
expected_codes:
|
||||
'502': critical
|
||||
'404': warning
|
||||
'1033': critical
|
||||
# targets:
|
||||
# - <exporter-host>:<port>
|
||||
# scheme: http
|
||||
15
manifests/kuma/monitoring.yaml
Normal file
15
manifests/kuma/monitoring.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
enabled: true
|
||||
app: kuma
|
||||
uptime_kuma:
|
||||
enabled: true
|
||||
url: https://kuma.dvirlabs.com
|
||||
tag: observability-stack
|
||||
external_check:
|
||||
url: https://kuma.dvirlabs.com
|
||||
expected_codes:
|
||||
'502': critical
|
||||
'404': warning
|
||||
'1033': critical
|
||||
# targets:
|
||||
# - <exporter-host>:<port>
|
||||
# scheme: http
|
||||
15
manifests/prometheus-int/monitoring.yaml
Normal file
15
manifests/prometheus-int/monitoring.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
enabled: true
|
||||
app: prometheus-int
|
||||
uptime_kuma:
|
||||
enabled: true
|
||||
url: https://prometheus-int.dvirlabs.com
|
||||
tag: observability-stack
|
||||
external_check:
|
||||
url: https://prometheus-int.dvirlabs.com
|
||||
expected_codes:
|
||||
'502': critical
|
||||
'404': warning
|
||||
'1033': critical
|
||||
# targets:
|
||||
# - <exporter-host>:<port>
|
||||
# scheme: http
|
||||
@ -7,25 +7,13 @@ metadata:
|
||||
app.kubernetes.io/name: prometheus
|
||||
type: Opaque
|
||||
stringData:
|
||||
additional-scrape-configs.yaml: |
|
||||
additional-scrape-configs.yaml: |+
|
||||
# This content will be auto-updated by the pipeline
|
||||
- job_name: harbor
|
||||
static_configs:
|
||||
- targets:
|
||||
- harbor-core.dev-tools.svc.cluster.local:8001
|
||||
|
||||
- job_name: vault
|
||||
static_configs:
|
||||
- targets:
|
||||
- vault.dev-tools.svc.cluster.local:8200
|
||||
metrics_path: /v1/sys/metrics
|
||||
scheme: http
|
||||
- job_name: woodpecker
|
||||
static_configs:
|
||||
- targets:
|
||||
- woodpecker.dev-tools.svc.cluster.local:9000
|
||||
bearer_token: prometheusmetricstoken
|
||||
scheme: https
|
||||
- job_name: gitea
|
||||
static_configs:
|
||||
- targets:
|
||||
|
||||
15
manifests/prometheus/monitoring.yaml
Normal file
15
manifests/prometheus/monitoring.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
enabled: true
|
||||
app: prometheus
|
||||
uptime_kuma:
|
||||
enabled: true
|
||||
url: https://prometheus.dvirlabs.com
|
||||
tag: observability-stack
|
||||
external_check:
|
||||
url: https://prometheus.dvirlabs.com
|
||||
expected_codes:
|
||||
'502': critical
|
||||
'404': warning
|
||||
'1033': critical
|
||||
# targets:
|
||||
# - <exporter-host>:<port>
|
||||
# scheme: http
|
||||
Loading…
x
Reference in New Issue
Block a user