Skip to content

Commit 548211c

Browse files
committed
input: align windows exporter metrics options and defaults
Signed-off-by: Eduardo Silva <edsiper@gmail.com>
1 parent ef7f24b commit 548211c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

pipeline/inputs/windows-exporter-metrics.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ Each `collector.xxx.scrape_interval` option only overrides the interval for that
2828

2929
Overridden intervals only change the collection interval, not the interval for publishing the metrics which is taken from the global setting.
3030

31-
For example, if the global interval is set to `5` and an override interval of `60` is used, the published metrics will be reported every five seconds. However, the specific collector will stay the same for 60 seconds until it's collected again.
31+
For example, if the global interval is set to `1` and an override interval of `60` is used, the published metrics will be reported every second. However, the specific collector will stay the same for 60 seconds until it's collected again.
3232

3333
This helps with down-sampling when collecting metrics.
3434

3535
| Key | Description | Default |
3636
|------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|
37-
| `scrape_interval` | The rate in seconds at which metrics are collected from the Windows host. | `5` |
37+
| `scrape_interval` | The rate in seconds at which metrics are collected from the Windows host. | `1` |
38+
| `enable_collector` | Enable one collector by name. This key can be specified multiple times to build an allow-list of collectors to run. | _none_ |
3839
| `we.logical_disk.allow_disk_regex` | Specify the regular expression for logical disk metrics to allow collection of. | `"/.+/"` (all) |
3940
| `we.logical_disk.deny_disk_regex` | Specify the regular expression for logical disk metrics to prevent collection of or ignore. | `NULL` (all) |
4041
| `we.net.allow_nic_regex` | Specify the regular expression for network metrics captured by the name of the NIC. | `"/.+/"` (all) |
@@ -58,7 +59,7 @@ This helps with down-sampling when collecting metrics.
5859
| `collector.process.scrape_interval` | The rate in seconds at which `process` metrics are collected. Values greater than `0` override the global default. Otherwise, the global default is used. | `0` |
5960
| `collector.tcp.scrape_interval` | The rate in seconds at which `tcp` metrics are collected. Values greater than `0` override the global default. Otherwise, the global default is used. | `0` |
6061
| `collector.cache.scrape_interval` | The rate in seconds at which `cache` metrics are collected. Values greater than `0` override the global default. Otherwise, the global default is used. | `0` |
61-
| `metrics` | Specify which metrics are collected. Comma-separated list of collector names. | `"cpu,cpu_info,os,net,logical_disk,cs,cache,thermalzone,logon,system,service,memory,paging_file,process,tcp"` |
62+
| `metrics` | Specify which metrics are collected. Comma-separated list of collector names. | `"cpu,cpu_info,os,net,logical_disk,cs,cache,thermalzone,logon,system,service,tcp"` |
6263

6364
## Collectors available
6465

0 commit comments

Comments
 (0)