package
0.0.0-20241004052545-caa2fb9b60ae
Repository: https://github.com/grafana/mimir.git
Documentation: pkg.go.dev
# README
What is this?
A simple hacky script + tool to download chunks from ingesters and dump their content.
How to use it
- Edit
pkg/ingester/client/ingester.proto
and change theimport "github.com/grafana/mimir/pkg/mimirpb/mimir.proto"
statement toimport "pkg/mimirpb/mimir.proto"
- Edit
download-chunks-from-ingesters-query.json
with the label matchers and time range to query. - Edit
download-chunks-from-ingesters.sh
with the configuration about the Kubernetes namespace and Mimir tenant to query. - Run
bash ./download-chunks-from-ingesters.sh
from this directory to download the chunks. - Once you've got the dump (1 file per ingester), run
go run . chunks-dump/*
to print the dump content of 1+ files.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author