Package datadog.trace.api.internal
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 Summary
Modifier and TypeMethodDescriptionvoidaddScopeListener(Runnable afterScopeActivatedCallback, Runnable afterScopeClosedCallback) Attach callbacks to the global scope manager.voidflush()voidvoidReturn the global instance of the DataStreams checkpointer.
-
Method Details
-
addScopeListener
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.
-