Package org.apache.ignite.spi.tracing

## Interface SpiSpecificSpan

- All Known Implementing Classes:
    `NoopSpiSpecificSpan`, `OpenCensusSpanAdapter`

      public interface SpiSpecificSpan

  Logical piece of a trace that insulates spi specific logic.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `SpiSpecificSpan` | `addLog​(String logDesc)` | Logs work to span.
    `SpiSpecificSpan` | `addTag​(String tagName, String tagVal)` | Adds tag to span with `String` value.
    `SpiSpecificSpan` | `end()` | Ends span.
    `boolean` | `isEnded()` |
    `SpiSpecificSpan` | `setStatus​(SpanStatus spanStatus)` | Explicitly set status for span.

- - ### Method Detail

    - #### addTag

          SpiSpecificSpan addTag​(String tagName,
                                 String tagVal)

      Adds tag to span with `String` value.
      Parameters:
        `tagName` - Tag name.
        `tagVal` - Tag value.
      Returns:
        `this` for chaining.

    - #### addLog

          SpiSpecificSpan addLog​(String logDesc)

      Logs work to span.
      Parameters:
        `logDesc` - Log description.
      Returns:
        `this` for chaining.

    - #### setStatus

          SpiSpecificSpan setStatus​(SpanStatus spanStatus)

      Explicitly set status for span.
      Parameters:
        `spanStatus` - Status.
      Returns:
        `this` for chaining.

    - #### end

          SpiSpecificSpan end()

      Ends span. This action sets default status if not set and mark the span as ready to be exported.
      Returns:
        `this` for chaining.

    - #### isEnded

          boolean isEnded()

      Returns:
        `true` if span has already ended.