-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
4.14
-
Important
-
None
-
MON Sprint 261, MON Sprint 262
-
2
-
False
-
-
-
Enhancement
-
Done
This is a clone of issue OCPBUGS-42671. The following is the description of the original issue:
—
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:
- clones
-
OCPBUGS-42671 Prometheus write_relabel_configs in remotewrite unable to drop metric in Grafana
- Verified
- is blocked by
-
OCPBUGS-42671 Prometheus write_relabel_configs in remotewrite unable to drop metric in Grafana
- Verified
- is triggering
-
MON-4093 Set 4.17.z as the minor min for upgrades to 4.18
- Closed
- links to
-
RHBA-2024:9610 OpenShift Container Platform 4.17.z bug fix update