-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.14
Description of problem:
Prometheus write_relabel_configs in remotewrite unable to drop metric in Grafana
Version-Release number of selected component (if applicable):
How reproducible:
Customer has tried both configurations to drop MQ metric with source_label(configuration 1) or without source_label(configuration 2) but it's not working. It seems to me that drop configuration is not working properly and is buggy. Configuration 1: ``` remoteWrite: - url: "https://prometheus-prod-01-eu-west-0.grafana.net/api/prom/push" write_relabel_configs: - source_labels: ['__name__'] regex: 'ibmmq_qmgr_uptime' action: 'drop' basicAuth: username: name: kubepromsecret key: username password: name: kubepromsecret key: password ``` Configuration 2: ``` remoteWrite: - url: "https://prometheus-prod-01-eu-west-0.grafana.net/api/prom/push" write_relabel_configs: - regex: 'ibmmq_qmgr_uptime' action: 'drop' basicAuth: username: name: kubepromsecret key: username password: name: kubepromsecret key: password ``` Customer wants to know what's the correct remote_write configuration to drop metric in Grafana ? Document links: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write https://docs.openshift.com/container-platform/4.14/observability/monitoring/configuring-the-monitoring-stack.html#configuring-remote-write-storage_configuring-the-monitoring-stack https://docs.openshift.com/container-platform/4.14/observability/monitoring/configuring-the-monitoring-stack.html#creating-user-defined-workload-monitoring-configmap_configuring-the-monitoring-stack
Steps to Reproduce:
1. 2. 3.
Actual results:
prometheus remote_write configurations NOT droppping metric in Grafana
Expected results:
prometheus remote_write configurations should drop metric in Grafana
Additional info:
- blocks
-
OCPBUGS-43690 Prometheus write_relabel_configs in remotewrite unable to drop metric in Grafana
- Closed
- is cloned by
-
OCPBUGS-43690 Prometheus write_relabel_configs in remotewrite unable to drop metric in Grafana
- Closed
- is triggering
-
MON-4045 Early validation for monitoring configmaps
- Closed
- links to
-
RHEA-2024:6122 OpenShift Container Platform 4.18.z bug fix update