-
public interface RumResourceAttributesProviderProvider which listens for the OkHttp Request -> Response (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)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
abstract Map<String, Object> onProvideAttributes(Request request, Response 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 Requestresponse- the Request response in case of anythrowable- in case an error occurred during the Request
-
-
-
-