On Thursday, 16 April 2020 09:28:18 UTC+1, Isabel Noronha wrote:
>
> So is there a way to keep only what I need and drop other metrics?
> An example would help in understanding relabelling better.
>
Untested:
metric_relabel_configs:
- source_labels: [__name__]
regex:
'(container_memory_usage_bytes|container_cpu_usage_seconds_total)'
action: keep
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/5c716ce0-0028-4494-89f4-c5a21b73dcfc%40googlegroups.com.