Interface InMemorySpan

All Superinterfaces:
io.opentracing.Span

public interface InMemorySpan extends io.opentracing.Span
A span that allows reading values at runtime.
  • Method Details

    • context

      Specified by:
      context in interface io.opentracing.Span
    • operationName

      String operationName()
      Returns the operation name.
      Returns:
      operation name
    • references

      Iterable<? extends InMemoryReference> references()
      Returns an immutable list of references.
      Returns:
      list of references
    • tags

      Map<String,Object> tags()
      Returns an unmodifiable view of the tags.
      Returns:
      the tags
    • logs

      @Nullable Iterable<? extends InMemorySpanLog> logs()
      Returns an unmodifiable view of logs. This may return null if the logs are not persisted.
      Returns:
      the logs
    • startEpochMicros

      long startEpochMicros()
      Returns the starting epoch in milliseconds. May return -1 if the span is not sampled.
      Returns:
      starting epoch in milliseconds