Skip to content

TraceQL Metrics: right exemplars for histogram and quantiles (#5145) #5197

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 #5145

git cherry-pick 2ef94efe5

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]

…#5145)

* Minor: remove forgotten comment

* [Bugfix] TraceQL Metrics: right exemplars for histogram and quantiles

* Test fixes: correct unmarshaller

* Tests: send traces with different attributes

* Tests: by operation

* Test attribute values in exemplars

* Changelog

* Test attribute values in exemplars: additional cases

* Benchmarks: HistogramAggregator.Combine

* Minor review improvement
@@ -118,6 +118,7 @@ configurable via the throughput_bytes_slo field, and it will populate op="traces
* [BUGFIX] Reset `SkipMetricsGeneration` before reuse. [#5117](https://github.com/grafana/tempo/pull/5117) (@flxbk)
* [BUGFIX] Fix metrics generator host info processor overrides config. [#5118](https://github.com/grafana/tempo/pull/5118) (@rlankfo)
* [BUGFIX] Fix metrics generator target_info to skip attributes with no name to prevent downstream errors [#5148](https://github.com/grafana/tempo/pull/5148) (@mdisibio)
* [BUGFIX] TraceQL Metrics: right exemplars for histogram and quantiles [#5145](https://github.com/grafana/tempo/pull/5145) (@ruslan-mikhailov)
Copy link
Collaborator

Choose a reason for hiding this comment

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

we don't have well defined process with regard to the changelog. ideally we'd show this being in rc.1 but i see that main already has this merged in 2.8.0-rc.0.

for now it's fine to leave this here. it will make my life easier when i fix the changelog in main and in the release branch.

@ruslan-mikhailov ruslan-mikhailov merged commit e10cd3f into grafana:release-v2.8 Jun 2, 2025
19 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