The textfile collector exposes metrics from files written by other processes.
Metric name prefix | textfile |
Classes | None |
Enabled by default? | Yes |
The directory containing the files to be ingested. Only files with the extension .prom
are read.
Default value: C:\Program Files\wmi_exporter\textfile_inputs
Required: No
Metrics will primarily come from the files on disk. The below listed metrics are collected to give information about the reading of the metrics themselves.
Name | Description | Type | Labels |
---|---|---|---|
wmi_textfile_scrape_error |
1 if there was an error opening or reading a file, 0 otherwise | gauge | None |
wmi_textfile_mtime_seconds |
Unix epoch-formatted mtime (modified time) of textfiles successfully read | gauge | file |
This collector does not yet have explained examples, we would appreciate your help adding them!
This collector does not yet have any useful queries added, we would appreciate your help adding them!
This collector does not yet have alerting examples, we would appreciate your help adding them!