Skip to content

BUGFIX: Metrics Frontend Caching - #5017

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

BUGFIX: Metrics Frontend Caching#5017
joe-elliott merged 4 commits into
grafana: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
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
* fix cache key

Signed-off-by: Joe Elliott <number101010@gmail.com>

* changelog

Signed-off-by: Joe Elliott <number101010@gmail.com>

* fix test

Signed-off-by: Joe Elliott <number101010@gmail.com>

* add other fields

Signed-off-by: Joe Elliott <number101010@gmail.com>

---------

Signed-off-by: Joe Elliott <number101010@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants