mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-27 02:53:02 +01:00
1721de0c38
* collector: Unwrap glob textfile directories * collector: Store full path in mtime's file label The point is to avoid duplicated gauges from files with the same name in different directories. This introduces support for exporting from multiple directories matching given pattern (e.g. `/home/*/metrics/`). Signed-off-by: Kiril Vladimirov <kiril@vladimiroff.org>
21 lines
1.7 KiB
Plaintext
21 lines
1.7 KiB
Plaintext
# HELP node_textfile_mtime_seconds Unixtime mtime of textfiles successfully read.
|
|
# TYPE node_textfile_mtime_seconds gauge
|
|
node_textfile_mtime_seconds{file="fixtures/textfile/summary_extra_dimension/metrics.prom"} 1
|
|
# 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 0
|
|
# HELP prometheus_rule_evaluation_duration_seconds The duration for a rule to execute.
|
|
# TYPE prometheus_rule_evaluation_duration_seconds summary
|
|
prometheus_rule_evaluation_duration_seconds{handler="",rule_type="alerting",quantile="0.9"} 0.001765451
|
|
prometheus_rule_evaluation_duration_seconds{handler="",rule_type="alerting",quantile="0.99"} 0.018672076
|
|
prometheus_rule_evaluation_duration_seconds_sum{handler="",rule_type="alerting"} 214.85081044700146
|
|
prometheus_rule_evaluation_duration_seconds_count{handler="",rule_type="alerting"} 185209
|
|
prometheus_rule_evaluation_duration_seconds{handler="",rule_type="recording",quantile="0.5"} 4.3132e-05
|
|
prometheus_rule_evaluation_duration_seconds{handler="",rule_type="recording",quantile="0.9"} 8.9295e-05
|
|
prometheus_rule_evaluation_duration_seconds{handler="",rule_type="recording",quantile="0.99"} 0.000193657
|
|
prometheus_rule_evaluation_duration_seconds_sum{handler="",rule_type="recording"} 185091.01317759082
|
|
prometheus_rule_evaluation_duration_seconds_count{handler="",rule_type="recording"} 1.0020195e+08
|
|
prometheus_rule_evaluation_duration_seconds{handler="foo",rule_type="alerting",quantile="0.5"} 0.000571464
|
|
prometheus_rule_evaluation_duration_seconds_sum{handler="foo",rule_type="alerting"} 0
|
|
prometheus_rule_evaluation_duration_seconds_count{handler="foo",rule_type="alerting"} 0
|