File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,20 @@ Where default_value is the value to use if the environment variable is undefined
68
68
# CLI flag: -http.prefix
69
69
[http_prefix : <string> | default = "/api/prom"]
70
70
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]
76
85
77
86
api :
78
87
# Use GZIP compression for API responses. Some endpoints serve large YAML or
You can’t perform that action at this time.
0 commit comments