Skip to content

Move all intrinsic tag lookup to the query-frontend and prioritize them in the results#4784

Merged
mdisibio merged 10 commits intografana:mainfrom
mdisibio:iss-4769
Mar 4, 2025
Merged

Move all intrinsic tag lookup to the query-frontend and prioritize them in the results#4784
mdisibio merged 10 commits intografana:mainfrom
mdisibio:iss-4769

Conversation

@mdisibio
Copy link
Copy Markdown
Contributor

@mdisibio mdisibio commented Mar 3, 2025

What this PR does:
Fixes #4769 by ensuring intrinsic tags are added first to the value collectors. Because they are static, there is also no need to return them from queriers and ingesters, and instead the query-frontend adds them statically.

Which issue(s) this PR fixes:
Fixes #

Checklist

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

Copy link
Copy Markdown
Contributor

@javiermolinar javiermolinar left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread modules/frontend/tag_handlers_test.go Outdated
Copy link
Copy Markdown
Member

@electron0zero electron0zero left a comment

Choose a reason for hiding this comment

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

just two nit, rest lgtm ✔️

Comment thread modules/querier/querier.go
Comment thread modules/frontend/tag_handlers_test.go Outdated
@mdisibio mdisibio merged commit 5d540e1 into grafana:main Mar 4, 2025
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.

Search Tags endpoint doesn't return intrinsics when the response size limit is hit

3 participants