Skip to content

Conversation

@bboreham
Copy link
Contributor

@bboreham bboreham commented Jan 6, 2021

Illustration of the problem lots of spans apparently at the same level:

image

This PR puts Distributor.QueryStream under distributorQuerier.Select.

distributorQuerier.Select should really go under querier.Select, but that's harder to fix because we are using a Prometheus interface that doesn't have a Context parameter.

Checklist

  • NA Tests updated
  • NA Documentation added
  • NA CHANGELOG.md updated

By passing in the context created for distributorQuerier.Select.
This makes traces easier to follow.

Signed-off-by: Bryan Boreham <[email protected]>
@bboreham bboreham force-pushed the streaming-select-context branch from b7cf0be to 9a476c8 Compare January 6, 2021 13:57
Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bboreham bboreham merged commit fcae0a3 into master Jan 6, 2021
@tomwilkie tomwilkie deleted the streaming-select-context branch April 27, 2021 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants