v-m: Scrape ntfy
_ntfy_ has supported Prometheus metrics for a while now, so let's collect them.
This commit is contained in:
@@ -454,3 +454,17 @@ scrape_configs:
|
|||||||
- source_labels:
|
- source_labels:
|
||||||
- __meta_kubernetes_pod_name
|
- __meta_kubernetes_pod_name
|
||||||
target_label: instance
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user