Class BlankSpan


  • @Immutable
    public final class BlankSpan
    extends Span
    The BlankSpan is a singleton class, which is the default Span that is used when no Span implementation is available. All operations are no-op.

    Used also to stop tracing, see Tracer.withSpan(io.opencensus.trace.Span).

    Since:
    0.5
    • Field Detail

      • INSTANCE

        public static final BlankSpan INSTANCE
        Singleton instance of this class.
        Since:
        0.5
    • Constructor Detail

      • BlankSpan

        private BlankSpan()