Package 

Class SpanOptions


  • 
    public final class SpanOptions
    
                        

    Optional configuration used when starting a new Span. SpanOptions are immutable and shareable, but internally track which options have been overridden. As such not setting a value will cause its default to be used (example: not setting startTime will cause SystemClock.elapsedRealtimeNanos to be used).

    New SpanOptions are typically based on the DEFAULTS:

    BugsnagPerformance.startSpan("LoadSuggestions", SpanOptions.startTime(actualStartTime))