File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
articles/azure-monitor/essentials Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,25 @@ This step is only required if you didn't enable Azure Key Vault Provider for Sec
145
145
```yml
146
146
prometheus:
147
147
prometheusSpec:
148
- cluster: <CLUSTER-NAME>
148
+ cluster: <CLUSTER-NAME>
149
+
150
+ ## Azure Managed Prometheus currently exports some default mixins in Grafana.
151
+ ## These mixins are compatible with data scraped by Azure Monitor agent on your
152
+ ## Azure Kubernetes Service cluster. These mixins aren't compatible with Prometheus
153
+ ## metrics scraped by the Kube Prometheus stack.
154
+ ## To make these mixins compatible, uncomment the remote write relabel configuration below:
155
+
156
+ ## writeRelabelConfigs:
157
+ ## - sourceLabels: [metrics_path]
158
+ ## regex: /metrics/cadvisor
159
+ ## targetLabel: job
160
+ ## replacement: cadvisor
161
+ ## action: replace
162
+ ## - sourceLabels: [job]
163
+ ## regex: 'node-exporter'
164
+ ## targetLabel: job
165
+ ## replacement: node
166
+ ## action: replace
149
167
150
168
## https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write
151
169
remoteWrite:
You can’t perform that action at this time.
0 commit comments