Skip to content

Expose Prometheus TSDB compaction metrics #2174

Closed
@pracucci

Description

@pracucci

The following TSDB metrics are not exposed by Cortex (blocks storage) but are actually quite important to be able to graph at which point in time TSDB head compactions occur:

prometheus_tsdb_compactions_triggered_total
prometheus_tsdb_compactions_failed_total

We should add them to the mapping in pkg/ingester/metrics.go and update unit tests accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueThese are great first issues. If you are looking for a place to start, start here!stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions