Skip to content

Exemplars UX improvements (#5158) #5199

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

Merged

Conversation

ruslan-mikhailov
Copy link
Contributor

What this PR does:
Backport for #5158

git cherry-pick a75b0bb9b

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]

* TraceQL Metrics: more fair exemplars distribution

Determine the number of requested exemplars from a block
based on its time range, not equally

* TraceQL Metrics: distribute exemplars over time

UX improvement

* TraceQL Metrics: Parametrise exemplars limit

* TraceQL Metrics: pass exemplars limit to combiners

* TraceQL Metrics: hard limit exemplars

* TraceQL Metrics: restore default behaviour

* TraceQL Metrics: e2e test for number of returned exemplars

* TraceQL Metrics: state bug in quantile_over_time

* Changelog

* Stabilise flaky test

* nolint for integer overflow

* minor linter fixes

* TraceQL Metrics: share exemplars between generator and backend

This will reduce load on generators

* Add comment with link to bug

* minor linter fixes
@ruslan-mikhailov ruslan-mikhailov merged commit ceae4e9 into grafana:release-v2.8 Jun 2, 2025
19 checks passed
@ruslan-mikhailov ruslan-mikhailov deleted the backport/pr-5158 branch June 2, 2025 15:57
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