Package 

Class ProfilingContextIntegration.NoOp

    • Method Summary

      Modifier and Type Method Description
      ProfilingContextAttribute createContextAttribute(String attribute) Creates a decorator for the attribute, which can be used to set and clear contexts slightlymore efficiently than with string attributes.
      ProfilingScope newScope() Stateful API which restores the previous context when closed.
      void onAttach() Invoked when a trace first propagates to a thread
      void onDetach() Invoked when a thread exits
      String name()
      • Methods inherited from class com.datadog.trace.bootstrap.instrumentation.api.ProfilingContextIntegration

        encode, encodeOperationName, encodeResourceName, newScopeState, onStart
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createContextAttribute

         ProfilingContextAttribute createContextAttribute(String attribute)

        Creates a decorator for the attribute, which can be used to set and clear contexts slightlymore efficiently than with string attributes.

        Parameters:
        attribute - the name of the attribute
      • newScope

         ProfilingScope newScope()

        Stateful API which restores the previous context when closed. This requires more memory so hashigher overhead than the stateless API.

      • onAttach

         void onAttach()

        Invoked when a trace first propagates to a thread

      • onDetach

         void onDetach()

        Invoked when a thread exits