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

Tempo: Send current filters when retrieving tags for AdHocFilters #88270

Merged

Conversation

joey-grafana
Copy link
Contributor

What is this feature?

Sends current filters when retrieving tags for AdHocFilters.

Why do we need this feature?

More specific tags will be returned i.e. tags that will result in data being returned in the query.

Who is this feature for?

Tempo users.

Which issue(s) does this PR fix?:

Fixes grafana/explore-traces#35

Copy link
Contributor

@adrapereira adrapereira left a comment

Choose a reason for hiding this comment

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

Small nit, but looks good!

Comment on lines 195 to 199
if (query) {
options = await this.languageProvider.getOptionsV2(scopeAndTag, query);
} else {
options = await this.languageProvider.getOptionsV2(scopeAndTag);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't need this check since query is already optional in getOptionsV2

@joey-grafana joey-grafana merged commit a52f992 into main Jun 4, 2024
14 checks passed
@joey-grafana joey-grafana deleted the joey/tempo-send-current-filters-when-retrieving-tags branch June 4, 2024 12:20
@kevinwcyu kevinwcyu modified the milestones: 11.1.x, 11.1.0 Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send current filters when retrieving tags
3 participants