Interface InternalTracer


public interface InternalTracer
Tracer internal features. Those features are not part of public API and can change or be removed at any time.
  • Method Details

    • addScopeListener

      void addScopeListener(Runnable afterScopeActivatedCallback, Runnable afterScopeClosedCallback)
      Attach callbacks to the global scope manager.
      Parameters:
      afterScopeActivatedCallback - Callback on scope activation.
      afterScopeClosedCallback - Callback on scope close.
    • flush

      void flush()
    • flushMetrics

      void flushMetrics()
    • flushLogs

      void flushLogs()
    • getProfilingContext

      Profiling getProfilingContext()
    • getTraceSegment

      TraceSegment getTraceSegment()
    • getDataStreamsCheckpointer

      DataStreamsCheckpointer getDataStreamsCheckpointer()
      Return the global instance of the DataStreams checkpointer.
      Returns:
      DataStreamsCheckpointer instance.