Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Support selectors for LabelValues/LabelNames calls #654

Conversation

simonswine
Copy link
Collaborator

@simonswine simonswine commented Apr 26, 2023

This adds support selectors on the LabelNames/Values call.

This could replace the Series call in Explore and improve the experience with high cardinality tenants.

Also does a fair bit of refactoring to ensure we only define one Request/Response type between ingester/querier

They are now using a common type between ingester/querier
This will allow a more effiecent auto-suggest, esp with high cardinality
tenants.
@simonswine simonswine changed the title 20230426 support matchers for label names values call Support seletors for LabelValues/LabelNames calls names values call Apr 26, 2023
@simonswine simonswine changed the title Support seletors for LabelValues/LabelNames calls names values call Support selectors for LabelValues/LabelNames calls Apr 26, 2023
@simonswine simonswine marked this pull request as ready for review April 26, 2023 13:33
Copy link
Collaborator

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM Awesome !

@simonswine simonswine merged commit bf5c0e6 into grafana:main Apr 26, 2023
simonswine added a commit to simonswine/pyroscope that referenced this pull request Jun 30, 2023
* Refactor label name/values request/responses

They are now using a common type between ingester/querier

* Supporter matchers on LabelNames/LabelValues

This will allow a more effiecent auto-suggest, esp with high cardinality
tenants.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants