After adding relabel_configs in cos-prometheus through prometheus-scrape-config-k8s charm, the nrpe checks fail. When the relabel_config is removed, the nrpe checks and alerts will work as expected.
To Reproduce
Deploy the standard cos
Deploy nrpe charm in a separate model with relation to cos-proxy forwarding to cos-prometheus
Add the relabel_config to the cos-prometheus using the prometheus-scrape-config-k8s-charm.
relabel_configs: |-
Bug Description
After adding relabel_configs in cos-prometheus through prometheus-scrape-config-k8s charm, the nrpe checks fail. When the relabel_config is removed, the nrpe checks and alerts will work as expected.
To Reproduce
Environment
juju 3.4/stable, MAAS 3.4/stable
alertmanager alertmanager-k8s latest/edge 128
catalogue catalogue-k8s latest/stable 43
grafana grafana-k8s latest/stable loki loki-k8s latest/stable prometheus prometheus-k8s latest/stable scrape-interval-config-monitors prometheus-scrape-config-k8s latest/edge traefik traefik-k8s latest/stable 194
cos-proxy-monitors cos-proxy latest/edge 101 nrpe nrpe latest/stable
Relevant log output
Additional context
No response