Skip to content

Commit 0cc75be

Browse files
committed
update docs/runtime_options.md with the new flag 'disable_specific_metrics'
1 parent 9d8c85c commit 0cc75be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/runtime_options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ cAdvisor stores the latest historical data in memory. How long of a history it s
126126
--collector_cert="": Collector's certificate, exposed to endpoints for certificate based authentication.
127127
--collector_key="": Key for the collector's certificate
128128
--disable_metrics=tcp,advtcp,udp,sched,process,hugetlb: comma-separated list of metrics to be disabled. Options are 'disk', 'network', 'tcp', 'advtcp', 'udp', 'sched', 'process', 'hugetlb', 'cpuset'. Note: tcp and udp are disabled by default due to high CPU usage. (default tcp,advtcp,udp,sched,process,hugetlb,cpuset)
129+
--disable_specific_metrics="": Comma-separated list of metrics not to be enabled. This list comprises of exact metric names and/or regex patterns.It differs from the 'disable_metrics' in that 'disable_specific_metrics' filters specific metrics, while 'disable_metrics' filters a certain type of metrics.Besides, 'disable_specific_metrics' will only disable metrics being exported by Prometheus.(default "")
129130
--prometheus_endpoint="/metrics": Endpoint to expose Prometheus metrics on (default "/metrics")
130131
--disable_root_cgroup_stats=false: Disable collecting root Cgroup stats
131132
```

0 commit comments

Comments
 (0)