mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-04-17 20:55:19 +00:00
Added a required detail for the .prom file to work properly
After adding the `role.prom` file on Windows on around 15 virtual machines, we discovered that if omit to insert an empty line feed at the end of the file, Prometheus won't get metrics from the virtual machine. Adding a new line fixes the issue and immediately start gathering metrics for the virtual machine.
This commit is contained in:
parent
3a19fe4e7d
commit
d860d92dc8
@ -12,7 +12,7 @@ Enabled by default? | Yes
|
||||
|
||||
### `--collector.textfile.directory`
|
||||
|
||||
The directory containing the files to be ingested. Only files with the extension `.prom` are read.
|
||||
The directory containing the files to be ingested. Only files with the extension `.prom` are read. The `.prom` file must end with an empty line feed to work properly.
|
||||
|
||||
Default value: `C:\Program Files\wmi_exporter\textfile_inputs`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user