From 60514d191aa28741aa8e86c067fa5fe7ff276f98 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 5 Dec 2022 20:36:57 +0000 Subject: [PATCH] Exclude python stats for HA --- ansible/roles/forrest/files/prometheus/prometheus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/forrest/files/prometheus/prometheus.yml b/ansible/roles/forrest/files/prometheus/prometheus.yml index ec18168..069732d 100644 --- a/ansible/roles/forrest/files/prometheus/prometheus.yml +++ b/ansible/roles/forrest/files/prometheus/prometheus.yml @@ -25,7 +25,7 @@ scrape_configs: credentials: "{{ homeassistant_token }}" metric_relabel_configs: - source_labels: [__name__] - regex: go_.+ + regex: python_.+ action: drop static_configs: - targets: ["{{ pve_hosts.homeassistant.ip }}:8123"]