1
0
Fork 0

v-m: Scrape ntfy

_ntfy_ has supported Prometheus metrics for a while now, so let's
collect them.
pull/27/head
Dustin 2024-09-22 12:13:01 -05:00
parent 9ec6b651c1
commit ffa47b9fba
1 changed files with 14 additions and 0 deletions

View File

@ -454,3 +454,17 @@ scrape_configs:
- source_labels:
- __meta_kubernetes_pod_name
target_label: instance
- job_name: ntfy
kubernetes_sd_configs:
- role: pod
namespaces:
names:
- ntfy
selectors:
- role: pod
label: app.kubernetes.io/name=ntfy
relabel_configs:
- source_labels:
- __meta_kubernetes_pod_name
target_label: instance