grpcurl-query-ingesters

command
v0.0.0-...-ba40f9b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

README

What is this?

A simple hacky script + tool to download chunks from ingesters and dump their content.

How to use it

  1. Edit pkg/ingester/client/ingester.proto and change the import "github.com/grafana/mimir/pkg/mimirpb/mimir.proto" statement to import "pkg/mimirpb/mimir.proto"
  2. Edit download-chunks-from-ingesters-query.json with the label matchers and time range to query.
  3. Edit download-chunks-from-ingesters.sh with the configuration about the Kubernetes namespace and Mimir tenant to query.
  4. Run bash ./download-chunks-from-ingesters.sh from this directory to download the chunks.
  5. Once you've got the dump (1 file per ingester), run go run . chunks-dump/* to print the dump content of 1+ files.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL