For the latest stable version, please use Korvet 0.19!

Trimmer Metrics

These metrics are emitted by tiered storage maintenance in korvet-storage-tiered.

Failures

Trimmer failures by lifecycle phase and error type.

Name: korvet.storage.trimmer.failures
Type: counter

Table 1. Tags

Key

Description

error_type

Exception class simple name.

phase

Logical trimmer phase (e.g. start).

Outcomes

Retention trim outcomes. The total per tier is derivable as the sum over results, so a separate streams-visited counter is unnecessary.

Name: korvet.storage.trimmer.outcomes
Type: counter

Table 2. Tags

Key

Description

result

Trim outcome (e.g. success, error).

tier

Storage tier (e.g. local, remote).

Sweep

Retention sweep duration.

Name: korvet.storage.trimmer.sweep
Type: timer
Base unit: seconds

Up

Whether the trimmer is currently running.

Name: korvet.storage.trimmer.up
Type: gauge