v-m: Scrape ntfy
_ntfy_ has supported Prometheus metrics for a while now, so let's collect them.pull/27/head
parent
9ec6b651c1
commit
ffa47b9fba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue