Thank you, this helped.

Since I'm new to Prometheus could you please help with any 
websites/blogs/tutorials to learn it better?

Regards,
Isabel

On Thursday, April 16, 2020 at 4:41:41 PM UTC+5:30, Brian Candler wrote:
>
> 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/fd90019d-fb44-4b23-8597-381a1014d398%40googlegroups.com.

Reply via email to