Package 

Interface RumResourceAttributesProvider


  • 
    public interface RumResourceAttributesProvider
    
                        

    Provider 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 Request
        response - the Request response in case of any
        throwable - in case an error occurred during the Request