Interface SpanScope

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
NoopSpanScope

@ExperimentalApi public interface SpanScope extends AutoCloseable
An auto-closeable that represents scope of the span.
Opensearch.experimental:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final SpanScope
    No-op Scope implementation
  • Method Summary

    Modifier and Type
    Method
    Description
    Attaches span to the SpanScope
    void
     
    Returns span attached with the SpanScope
  • Field Details

    • NO_OP

      static final SpanScope NO_OP
      No-op Scope implementation
  • Method Details