Interface ITraceProvider
-
- All Known Implementing Classes:
OtelPlugin
public interface ITraceProvider
This type can be used to connect Deep to a trace provider. This will allow Deep to create Spans dynamically based on the config of a tracepoint.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ITraceProvider.ISpan
This type describes a span for Deep to use as a dynamic Span, it gives a common interface for allITraceProvider
's.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ITraceProvider.ISpan
createSpan(String name)
Create and return a new span.ITraceProvider.ISpan
currentSpan()
Get the current span from the underlying provider.
-
-
-
Method Detail
-
createSpan
ITraceProvider.ISpan createSpan(String name)
Create and return a new span.- Parameters:
name
- the name of the span to create- Returns:
- the new span
-
currentSpan
ITraceProvider.ISpan currentSpan()
Get the current span from the underlying provider.- Returns:
- the current active span, or
null
-
-