-
Feature Request
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
False
-
None
-
False
-
Not Selected
-
-
-
-
Prometheus Remote write - Custom http headers per namespace
Customers remote write endpoint is using http headers as a tennent ID
so the CU would like to be able specify a custom header per namespace
Currenly using the below config, the second header statement overwrites the first
prometheus: remoteWrite: - headers: X-Scope-OrgID: "ocp-netscaler" name: "NetscalerCPX" url: "https://endpoint1.com:9009/api/v1/push" writeRelabelConfigs: - action: "keep" regex: "^(netscaler|netscaler-external)$" sourceLabels: - "namespace" - action: "replace" replacement: "XYZ" targetLabel: "tier" - headers: X-Scope-OrgID: "ocp-ns1" name: "Portworx" url: "https://endpoint1.com:9009/api/v1/push" writeRelabelConfigs: - action: "keep" regex: "^(portworx)$" sourceLabels: - "namespace"