promtool check metrics
Jump to navigation
Jump to search
curl -sSL http://localhost:9100/metrics | promtool check metrics (no output)
curl -sSL http://localhost:9100/metrics | promtool check metrics
http_request_duration_microseconds use base unit "seconds" instead of "microseconds" node_context_switches counter metrics should have "_total" suffix node_cpu counter metrics should have "_total" suffix node_disk_bytes_read counter metrics should have "_total" suffix node_disk_bytes_written counter metrics should have "_total" suffix node_disk_io_time_ms counter metrics should have "_total" suffix node_disk_io_time_weighted counter metrics should have "_total" suffix node_disk_read_time_ms counter metrics should have "_total" suffix node_disk_reads_completed counter metrics should have "_total" suffix node_disk_reads_merged counter metrics should have "_total" suffix node_disk_sectors_read counter metrics should have "_total" suffix node_disk_sectors_written counter metrics should have "_total" suffix node_disk_write_time_ms counter metrics should have "_total" suffix node_disk_writes_completed counter metrics should have "_total" suffix node_disk_writes_merged counter metrics should have "_total" suffix node_forks counter metrics should have "_total" suffix node_intr counter metrics should have "_total" suffix node_timex_pps_calibration_count counter metrics should have "_total" suffix node_timex_pps_error_count counter metrics should have "_total" suffix node_timex_pps_error_count non-histogram and non-summary metrics should not have "_count" suffix node_timex_pps_jitter_count counter metrics should have "_total" suffix node_timex_pps_stability counter metrics should have "_total" suffix node_timex_pps_calibration_count non-histogram and non-summary metrics should not have "_count" suffix node_timex_pps_jitter_count non-histogram and non-summary metrics should not have "_count" suffix node_timex_pps_stability_exceeded_count non-histogram and non-summary metrics should not have "_count" suffix
cat /etc/syslog.conf| promtool check metrics error while linting: text format parsing error in line 3: expected float as value, got ".*"
See also[edit]
promtool check
: [config | rules | metrics]
- Prometheus:
promtool | check | tsbd | --help
Advertising: