Interface ITraceProvider


  • 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.
    • 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