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

Return partial results for tags and tag values lookups #1517

Merged
merged 2 commits into from
Jun 28, 2022

Conversation

mdisibio
Copy link
Contributor

@mdisibio mdisibio commented Jun 27, 2022

What this PR does:
This PR adjusts the tags and tag values lookup apis to return partial results up to the size limit instead of failing. The warning message was updated to include the limit and total size of tags/values encountered. The core string handling was moved into pkg/util/distinct_string_collector.go

Which issue(s) this PR fixes:
Fixes n/a

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@mdisibio mdisibio merged commit e1005a2 into grafana:main Jun 28, 2022
@mdisibio mdisibio deleted the search-tags-partial-results branch April 25, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants