-
public interface RumResourceAttributesProviderProvider which listens for the network HttpRequestInfo -> HttpResponseInfo (or Throwable) chain and offers a possibility to add custom attributes to the RUM Resource event.
-
-
Method Summary
Modifier and Type Method Description abstract Map<String, Object>onProvideAttributes(Request request, Response response, Throwable throwable)Deprecated. Map<String, Object>onProvideAttributes(HttpRequestInfo request, HttpResponseInfo response, Throwable throwable)Offers a possibility to create custom attributes collection which later will be attached to the RUM resource event associated with the request. -
-
Method Detail
-
onProvideAttributes
@Deprecated(message = Use the variant with HttpRequestInfo/HttpResponseInfo instead) abstract Map<String, Object> onProvideAttributes(Request request, Response response, Throwable throwable)
Deprecated. Use the variant with HttpRequestInfo/HttpResponseInfo instead. Offers a possibility to create custom attributes collection which later will be attached to the RUM resource event associated with the request.
- Parameters:
request- the intercepted Requestresponse- the Request response in case of anythrowable- in case an error occurred during the Request
-
onProvideAttributes
Map<String, Object> onProvideAttributes(HttpRequestInfo request, HttpResponseInfo response, Throwable throwable)
Offers a possibility to create custom attributes collection which later will be attached to the RUM resource event associated with the request.
- Parameters:
request- the intercepted HttpRequestInforesponse- the HttpResponseInfo representing the response in case of anythrowable- in case an error occurred during the request
-
-
-
-