Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

Metric cassandra_storage_hints_in_progress must be gauge, not counter #122

Description

@smarsching

The cassandra_storage_hints_in_progress is currently exposed as a metric of type counter.

This is incorrect, because according to the specification of Prometheus metric types, a counter must only ever increase and never decrease (except being reset to zero on restart). However, the “hints in progress” metric will decrease whenever hints have been successfully processed.

Therefore, this metrics must be exposed as a gauge instead of a counter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions