IssueRaiser

Document real world examples of using relabel_config

WRT http://prometheus.io/docs/operating/configuration/#%3Crelabel_config%3E The documentation for `relabel_config` is very clinical and hard to understand. (At least it is accurate, as far as I can tell.) In both `relabel_configs` and `metric_relabel_configs` some real-world examples would go a long way. (In fact, `relabel_configs` doesn't even have a paragraph. `metric_relabel_configs` says "One use for this is to blacklist time series that are too expensive to ingest" but gives no hint at how to accomplish that.) It would be great if the examples gave some typical uses for relabeling, and included examples of relabeling a `kubernetes_sd_config` or similar. I found the relabelling much easier to understand after I found this blog post which contained a few sparse examples: https://prometheus.io/blog/2015/06/01/advanced-service-discovery/ but, being a blog post instead of docs, it's already out of date.

Posted by davidmankin on Mar 3, 2016, 5:13 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.5,000 issues0 comments

pricing (Other)

Document real world examples of using relabel_config

davidmankinMar 3, 2016, 5:13 PM

WRT http://prometheus.io/docs/operating/configuration/#%3Crelabel_config%3E The documentation for `relabel_config` is very clinical and hard to understand. (At least it is accurate, as far as I can tell.) In both `relabel_configs` and `metric_relabel_configs` some real-world examples would go a long way. (In fact, `relabel_configs` doesn't even have a paragraph. `metric_relabel_configs` says "One use for this is to blacklist time series that are too expensive to ingest" but gives no hint at how to accomplish that.) It would be great if the examples gave some typical uses for relabeling, and included examples of relabeling a `kubernetes_sd_config` or similar. I found the relabelling much easier to understand after I found this blog post which contained a few sparse examples: https://prometheus.io/blog/2015/06/01/advanced-service-discovery/ but, being a blog post instead of docs, it's already out of date.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue