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

Add capability to correctly export fixed buckets histogram to SignalFx #2977

Merged
merged 5 commits into from
Mar 18, 2022

Conversation

bogdandrutu
Copy link
Contributor

  • Fix to always include the "+Inf" bucket.
  • Fix to never expire per bucket counters.
  • The metrics are still reported as Gauges by default, to fix this user has to enable a property.

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

@bogdandrutu
Copy link
Contributor Author

@jonatan-ivanov can you please review/merge this :)?

@mateuszrzeszutek
Copy link
Contributor

@jonatan-ivanov (and Micrometer maintainers) PTAL at this PR -- I've fixed the issues with max(), and made sure that all new behavior is hidden behind a new config flag.

bogdandrutu and others added 4 commits March 18, 2022 12:10
* Fix to always include the "+Inf" bucket.
* Fix to never expire per bucket counters.
* The metrics are still reported as Gauges by default, to fix this user has to enable a property.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@jonatan-ivanov
Copy link
Member

@bogdandrutu @mateuszrzeszutek Thank you for the change!
I rebased the branch on top of 1.9.x so that this can go out with our next minor release (main is for 2.0.0 now).

@jonatan-ivanov jonatan-ivanov merged commit 447c98d into micrometer-metrics:1.9.x Mar 18, 2022
@jonatan-ivanov jonatan-ivanov added enhancement A general enhancement registry: signalfx A SignalFX Registry related issue labels Mar 18, 2022
@jonatan-ivanov jonatan-ivanov added this to the 1.9.0-M5 milestone Mar 18, 2022
@bogdandrutu bogdandrutu deleted the testgauge branch June 27, 2022 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A general enhancement registry: signalfx A SignalFX Registry related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants