You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: |-
- target_label: 'alerting_system'
replacement: 'nfvi-cos'
- target_label: 'site_identifier'
replacement: 'site1'
Observe that after the prometheus has resstarted and settled, the nrpe checks are failing.
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
relabel_configs: |-
- target_label: 'alerting_system'
replacement: 'nfvi-cos'
- target_label: 'site_identifier'
replacement: 'site1'
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
The text was updated successfully, but these errors were encountered: