ofesseler / gluster_exporter

Gluster Exporter for Prometheus
Apache License 2.0
81 stars 57 forks source link

promtool check-metrics issues #25

Closed mjtrangoni closed 6 years ago

mjtrangoni commented 6 years ago

We have to fix these issues reported by the promtool checker.

# curl -s glusterfs1:9189/metrics  | promtool check-metrics
gluster_brick_data_read: counter metrics should have "_total" suffix
gluster_brick_data_written: counter metrics should have "_total" suffix
gluster_brick_duration: counter metrics should have "_total" suffix
gluster_brick_fop_hits: counter metrics should have "_total" suffix
gluster_brick_fop_latency_avg: counter metrics should have "_total" suffix
gluster_brick_fop_latency_max: counter metrics should have "_total" suffix
gluster_brick_fop_latency_min: counter metrics should have "_total" suffix
gluster_heal_info_files_count: counter metrics should have "_total" suffix
gluster_node_size_free_bytes: counter metrics should have "_total" suffix
gluster_node_size_total_bytes: counter metrics should have "_total" suffix
gluster_brick_count: non-histogram and non-summary metrics should not have "_count" suffix
gluster_heal_info_files_count: non-histogram and non-summary metrics should not have "_count" suffix
gluster_volumes_count: non-histogram and non-summary metrics should not have "_count" suffix