Class Span

Object
com.tailf.progress.Span
Direct Known Subclasses:
EmptySpan

public class Span extends Object
Class for Span information. A Span object is created and returned by a ProgressTrace.startSpan(java.lang.String) method, and is passed to ProgressTrace.endSpan(com.tailf.progress.Span)
  • Constructor Details

    • Span

      public Span(String spanId, String traceId)
      Create a new span object
      Parameters:
      spanId - the span ID
      traceId - the trace ID
  • Method Details

    • getSpanId

      public String getSpanId()
      Returns:
      the span ID as String
    • getTraceId

      public String getTraceId()
      Returns:
      the trace ID as String