Difference between revisions of "Promtool check metrics"

From wikieduonline
Jump to navigation Jump to search
 
Line 3: Line 3:
 
  [[curl -sSL]] http://localhost:9100/metrics | promtool check metrics
 
  [[curl -sSL]] http://localhost:9100/metrics | promtool check metrics
 
  (no output)
 
  (no output)
 +
 +
[[curl -sSL]] http://localhost:9100/metrics | promtool check metrics
 +
<pre>
 +
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
 +
</pre>
 +
 +
 +
  
 
  cat [[/etc/syslog.conf]]| [[promtool check]] metrics
 
  cat [[/etc/syslog.conf]]| [[promtool check]] metrics

Latest revision as of 17:17, 9 December 2023

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]

Advertising: