Fix mtime reporting in textfile collector, add tests.
This commit is contained in:
parent
704e8f76d8
commit
e13f910427
9 changed files with 186 additions and 11 deletions
8
collector/fixtures/textfile/no_metric_files.out
Normal file
8
collector/fixtures/textfile/no_metric_files.out
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
name: "node_textfile_scrape_error"
|
||||
help: "1 if there was an error opening or reading a file, 0 otherwise"
|
||||
type: GAUGE
|
||||
metric: <
|
||||
gauge: <
|
||||
value: 0
|
||||
>
|
||||
>
|
||||
Loading…
Add table
Add a link
Reference in a new issue