This is clearer behavior and users will notice and fix their textfiles faster than if we just output a warning.
3 lines
166 B
Text
3 lines
166 B
Text
# HELP node_textfile_scrape_error 1 if there was an error opening or reading a file, 0 otherwise
|
|
# TYPE node_textfile_scrape_error gauge
|
|
node_textfile_scrape_error 1
|