Skip to content
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

fix: correctly publish the hedgedmetrics counter with delta #4078

Merged
merged 6 commits into from
Sep 13, 2024

Conversation

electron0zero
Copy link
Member

@electron0zero electron0zero commented Sep 12, 2024

What this PR does:
hedgedhttp.Stats is already a counter so we were incrementing the counter by the value of hedgedhttp.Stats counter.

correctly calculate delta and increment the counter for hedgedhttp.Stats

Which issue(s) this PR fixes:
fixes #4060, we missed this detail of hedgedhttp.Stats in #4063

Checklist

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

CHANGELOG.md Outdated
@@ -1,5 +1,7 @@
## main / unreleased

* [BUGFIX] Correctly publish the hedgedmetrics counter with delta [#4078](https://github.com/grafana/tempo/pull/4078) (@electron0zero)
* [BUGFIX] Replace hedged requests roundtrips total with a counter. [#4063](https://github.com/grafana/tempo/pull/4063) (@galalen)
Copy link
Member Author

Choose a reason for hiding this comment

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

this entry was in # v2.6.0 section, should be in ## main / unreleased so fixed it.

Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

lgtm, me!

@joe-elliott joe-elliott merged commit 85950ca into grafana:main Sep 13, 2024
15 of 16 checks passed
@electron0zero electron0zero deleted the fix_hedged_counter branch September 17, 2024 12:20
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.

Replace hedged requests roundtrips total with a counter
2 participants