Skip to content

BUGFIX: Metrics Frontend Caching#5017

Merged
joe-elliott merged 4 commits intografana:mainfrom
joe-elliott:fix-cache-key
Apr 17, 2025
Merged

BUGFIX: Metrics Frontend Caching#5017
joe-elliott merged 4 commits intografana:mainfrom
joe-elliott:fix-cache-key

Conversation

@joe-elliott
Copy link
Copy Markdown
Collaborator

What this PR does:

Frontend caching is broken for TraceQL Metrics queries. The cache key generation was incorrectly using the step instead of the start page which caused all jobs for the same block to collide.

Checklist

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

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
@joe-elliott joe-elliott merged commit 7b9b96e into grafana:main Apr 17, 2025
15 checks passed
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