Exclude python stats for HA

This commit is contained in:
Jake Howard 2022-12-05 20:36:57 +00:00
parent ed7faf4678
commit 60514d191a
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -25,7 +25,7 @@ scrape_configs:
credentials: "{{ homeassistant_token }}" credentials: "{{ homeassistant_token }}"
metric_relabel_configs: metric_relabel_configs:
- source_labels: [__name__] - source_labels: [__name__]
regex: go_.+ regex: python_.+
action: drop action: drop
static_configs: static_configs:
- targets: ["{{ pve_hosts.homeassistant.ip }}:8123"] - targets: ["{{ pve_hosts.homeassistant.ip }}:8123"]