Hi,

On 3/13/20 11:20 AM, Ankita Khot wrote:
> How to enable the metrics that are by default disable for the cAdvisor
> like container_network_tcp_usage_total through yml file ? 

I don't know cadvisor details at all, but it looks like those metrics
are disabled by default:

https://github.com/google/cadvisor/blob/0ff17b8d0df3712923c46ca484701b876d02dfee/cadvisor.go#L78

Seems like you would have to pass --disable_metrics 'foo,bar' (with
everything you want to keep disabled, except for the tcp metrics):

https://github.com/google/cadvisor/issues/2144

Kind regards,
Christian

-- 
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/6482e27c-674e-76f2-5057-4fd0997bbc49%40hoffmann-christian.info.

Reply via email to