canonical / tempo-k8s-operator

This charmed operator automates the operational procedures of running Grafana Tempo, an open-source tracing backend.
https://charmhub.io/tempo-k8s
Apache License 2.0
5 stars 3 forks source link

Set total block retention to 30 days #97

Closed mmkay closed 2 months ago

mmkay commented 2 months ago

Issue

Traces seem to disappear after a longer period.

Solution

Set default block_retention to 30 days. Set also compacted_block_retention that says how long blocks should stay around after they've been compacted

Context

See https://github.com/grafana/tempo/blob/main/modules/compactor/config.go#L38 and https://grafana.com/docs/tempo/latest/configuration/#compactor for context.

Testing Instructions

Release Notes