You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation should clearly state that for batch listeners, observations are not started.
Current Behavior
It is not stated in documentation that observations are not started for batch listeners
Context
I was trying to figure out why my application was not sending metrics in the observation convention's name documented here. After setting observationEnabled, as per here, I expected the observations to be created.
Turns out that observations are not started for any input which isn't a single element, as per here.
The text was updated successfully, but these errors were encountered:
tacascer
changed the title
Documentation that micrometer observations aren't started for batch listeners
Document that micrometer observations aren't started for batch listeners
Mar 6, 2024
Yeah...
I don't think we can provide an observation for the whole batch to process, since it is a combination of several consumed messages.
Therefore such an observation is left up to target handler implementation when it might be done per item in that collection.
We will fix docs respectively.
Or feel free to contribute such a note into that micrometer.adoc.
I don't think we can provide an observation for the whole batch to process, since it is a combination of several consumed messages.
Therefore such an observation is left up to target handler implementation when it might be done per item in that collection.
This makes sense. I'll take a look at updating the Micrometer Documentation
Expected Behavior
Documentation should clearly state that for batch listeners, observations are not started.
Current Behavior
It is not stated in documentation that observations are not started for batch listeners
Context
I was trying to figure out why my application was not sending metrics in the observation convention's name documented here. After setting
observationEnabled
, as per here, I expected the observations to be created.Turns out that observations are not started for any input which isn't a single element, as per here.
The text was updated successfully, but these errors were encountered: