-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Dynatrace v2 ingestion reporting "inconsistent gauge fields" #3007
Comments
Hi, thanks for reporting this. We have a PR open to fix this behavior, it should hopefully get merged soon. We're also working with the Micrometer maintainers to adapt the max buffering/decaying behavior in general (also for count>0) to match the input expected by Dynatrace. |
Thanks for the good news @pirgeo! Will the max buffering/decaying behavior enhancement you described above address the statistics inconsistency like the example below?
|
Fixed in #3030 |
Hey @stevegaeke-kr, yes, we are currently looking into this to see if and how we can improve this behavior as well! |
@stevegaeke-kr We are facing the same error, but are unable to find the metrics which is causing the issue. Could you please help us to narrow down the metrics which is causing the issue. |
@sathish256 are you using the latest version of Micrometer? If you confirm the issue still happens with the latest version, please open a new issue with details for us to investigate. |
@shakuzen Thank you for the response, Yes we are on the latest version of the micrometer. Sure I will create new issue with full details. |
@sathish256 , do you cause of the issue? I am facing the same. I don't see any new issue that you have created for this error. |
Hi @ImpulseKomal, |
Describe the bug
Dynatrace is reporting an inconsistent gauge error due to the measurement count being zero, but a maximum value is still being reported.
It seems like the
DynatraceExporterV2
class can be enhanced to protect against this situation similar to the checks that are performed onmin
to keep it in bounds.This is the routine I believe could be enhanced to prevent reporting max when count is zero.
I'm assuming the cause is related to the note found in this section: https://micrometer.io/docs/concepts#_timers
Is the period of the Dynatrace export job synchronized with any max value clearing?
Environment
To Reproduce
How to reproduce the bug:
In SpringBoot, create a Time using:
Expected behavior
If the gauge count == 0, no statistics should be reported to avoid Dynatrace reporting inconsistent gauge errors.
Additional context
Add any other context about the problem here, e.g. related issues.
The text was updated successfully, but these errors were encountered: