Periodic exports to a distributed block store have been configured on Prometheus. The export is in custom Prometheus/TSDB format.
I want to read these exports (without Prometheus/Thanos) and then process the aggregations in the backend.
Unable to find any libraries that help with reading the files directly. Any library in Python, Node, Go, or even command line tool would work for me.
Any pointers would be helpful.
You should have a folder with this structure:
the estructure of the files
I'm using Go version 1.19
The code:
go.mod
main.go
For more inf: see doc https://pkg.go.dev/github.com/prometheus/[email protected]/tsdb#section-readme