Does RemoteWrite supports writing PrometheusRules ? #5397
Answered
by
simonpasquier
matthewygf
asked this question in
Q&A
-
For example, in the kube-prometheus-stack, I added a prometheusRule additionalPrometheusRulesMap:
some-rule:
groups:
- name: cpu_mem_usage_active
interval: 30s
rules:
- record: cpu_usage_active In the remoteWriteSpec I write the following: - url: "http://someurl/write"
writeRelabelConfigs:
- sourceLabels: ["__name__"]
regex: "(.*usage_active)"
action: "keep" Does the |
Beta Was this translation helpful? Give feedback.
Answered by
simonpasquier
Mar 7, 2023
Replies: 2 comments 2 replies
-
It should |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
matthewygf
-
I'd check the final Prometheus configuration and that the metric exists. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should