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
Is your feature request related to a problem? Please describe.
I am trying to add "hasError” tag to my custom component metrics by RequestListener, but this interface has no way to transfer Throwable info to its implementation class.
At first I wanted to pass exceptions by RESPONSE, and I needed to modify the generics of the instrument class but I thought it was important to make a distinction.
/** Listener method that is called at the end of a request. */voidend(Contextcontext, AttributesresponseAttributes);
Describe the solution you'd like
add throwable param to "end" method in interface RequestListener.
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered:
Maybe RequestListener interface is better called "InstrumentListener"?
And it should both pass Attributes to implementation class and support passing REQUEST/RESPONSE directly, because the data format in Attributes may not meet the requirements and needs to be resolved from the REQUEST/RESPONSE object.
Is your feature request related to a problem? Please describe.
I am trying to add "hasError” tag to my custom component metrics by RequestListener, but this interface has no way to transfer
Throwable
info to its implementation class.At first I wanted to pass exceptions by RESPONSE, and I needed to modify the generics of the instrument class but I thought it was important to make a distinction.
Describe the solution you'd like
add throwable param to "end" method in interface
RequestListener
.Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: