Skip to content

promtool check metrics issues #204

Closed
@mjtrangoni

Description

@mjtrangoni

Hi @oliver006 ,

Checking the redis_exporter `v0.23.0 output with promtool, I have the following result,

# curl -s http://fqdn:9121/metrics | promtool check metrics
redis_commands_duration_seconds_total non-counter metrics should not have "_total" suffix
redis_commands_processed_total non-counter metrics should not have "_total" suffix
redis_commands_total non-counter metrics should not have "_total" suffix
redis_connections_received_total non-counter metrics should not have "_total" suffix
redis_evicted_keys_total non-counter metrics should not have "_total" suffix
redis_expired_keys_total non-counter metrics should not have "_total" suffix
redis_keyspace_hits_total non-counter metrics should not have "_total" suffix
redis_keyspace_misses_total non-counter metrics should not have "_total" suffix
redis_net_input_bytes_total non-counter metrics should not have "_total" suffix
redis_net_output_bytes_total non-counter metrics should not have "_total" suffix
redis_rejected_connections_total non-counter metrics should not have "_total" suffix

If you agree, I could send a PR for fixing this, and also adding this check to CircleCI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions