Skip to content

How to get the oldest timestamp? / How old is my oldest metric? #5487

Discussion options

You must be logged in to vote

There is no equivalent, and no easy way to get this information. Mimir would need to compute this from blocks and TSDB Head in each ingester. There is no component doing that right now.

With access to the block storage, one could find the oldest block and take minT of that block. This is easily available in bucket-index.json file. This approach would ignore data from ingesters, but assuming that data on the storage is older, that may not be a problem.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by applejag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants