Skip to content

Commit 434eefe

Browse files
committed
Doc
Signed-off-by: Justin Jung <[email protected]>
1 parent 378a740 commit 434eefe

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

docs/configuration/config-file-reference.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,20 @@ Where default_value is the value to use if the environment variable is undefined
6868
# CLI flag: -http.prefix
6969
[http_prefix: <string> | default = "/api/prom"]
7070

71-
# Comma-separated list of resources to monitor. Supported values are cpu and
72-
# heap, which tracks metrics from github.com/prometheus/procfs and
73-
# runtime/metrics that are close estimates. Empty string to disable.
74-
# CLI flag: -monitored.resources
75-
[monitored_resources: <string> | default = ""]
71+
resource_monitor:
72+
# Comma-separated list of resources to monitor. Supported values are cpu and
73+
# heap, which tracks metrics from github.com/prometheus/procfs and
74+
# runtime/metrics that are close estimates. Empty string to disable.
75+
# CLI flag: -resource-monitor.resources
76+
[resources: <string> | default = ""]
77+
78+
# Update interval of resource monitor. Must be greater than 0.
79+
# CLI flag: -resource-monitor.interval
80+
[interval: <duration> | default = 100ms]
81+
82+
# Interval to calculate average CPU rate. Must be greater than 0.
83+
# CLI flag: -resource-monitor.cpu-rate-interval
84+
[cpu_rate_interval: <duration> | default = 1m]
7685

7786
api:
7887
# Use GZIP compression for API responses. Some endpoints serve large YAML or

0 commit comments

Comments
 (0)