Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimirtool remote-read export fails #9657

Open
pio-kol opened this issue Oct 17, 2024 · 3 comments
Open

mimirtool remote-read export fails #9657

pio-kol opened this issue Oct 17, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@pio-kol
Copy link

pio-kol commented Oct 17, 2024

Describe the bug

mimirtool remote-read export fails

To Reproduce

Steps to reproduce the behavior:

  1. Clone Mimir repo git clone https://github.com/grafana/mimir.git
  2. Go to tutorial directory mimir/docs/sources/mimir/get-started/play-with-grafana-mimir
  3. Run project docker compose up -d
  4. Try to export data docker run grafana/mimirtool remote-read export --address=http://host.docker.internal:9009/ --id="anonymous"
  5. Error is reported
docker run grafana/mimirtool remote-read export --address=http://host.docker.internal:9009/ --id="anonymous"
time="2024-10-18T10:05:13Z" level=info msg="Created remote read client using endpoint 'http://host.docker.internal:9009/prometheus/api/v1/read'"
time="2024-10-18T10:05:13Z" level=info msg="Created TSDB in path '/tmp/mimirtool-tsdb1342615180'"
time="2024-10-18T10:05:13Z" level=info msg="Querying time from=2024-10-18T09:05:13Z to=2024-10-18T10:05:13Z with selector=up"
time="2024-10-18T10:05:13Z" level=info msg="Store TSDB blocks in '/tmp/mimirtool-tsdb1342615180'"
mimirtool: error: process blocks: input: chunkedReader: message size exceeded the limit 0 bytes; got: 1763 bytes, try --help

Expected behavior

Export works correctly

Environment

  • Infrastructure: laptop
  • Deployment tool: docker compose (also reproduced with K8s cluster)

Additional Context

@pio-kol pio-kol changed the title mimirtool remote-read export fails when using multitenancy_enabled: false mimirtool remote-read export fails Oct 18, 2024
@pio-kol
Copy link
Author

pio-kol commented Oct 18, 2024

Most likely the issue was introduced by that commit / PR

This is the first version I've reproduced the problem with: Docker

This is a backport of the PR above: commit

@armandgrillet armandgrillet added the bug Something isn't working label Oct 25, 2024
@armandgrillet
Copy link
Contributor

@krajorama Could you check if the PR mentioned by @pio-kol could have introduced this bug?

@pio-kol
Copy link
Author

pio-kol commented Nov 12, 2024

Do we have any update on the issue? Did you had a chance to reproduce it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants