Hi,
I want to write specific metrics of specific job to a webhook. How can i acheive this?
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/2e33afd9-c323-41af-afeb-a38148fdaa00%40googlegroups.com.
Hi,
I want to write specific metrics of specific job to a webhook. How can i acheive this?
--
You can add relabeling rules to your remote_write configuration to send only the metrics of your desired job, like:remote_write:
- url: http://remote1/push
write_relabel_configs:
- source_labels: [job]
regex: myjob
action: keep
On Wed, Apr 29, 2020 at 1:50 PM Kiran Ali <kira...@wanclouds.net> wrote:
Hi,--
I want to write specific metrics of specific job to a webhook. How can i acheive this?
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to promethe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/52a6cd82-4e51-45f1-b465-1e915371271d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/52a6cd82-4e51-45f1-b465-1e915371271d%40googlegroups.com.