Package org.opensearch.telemetry.tracing
Interface TracerContextStorage<K,V>
- Type Parameters:
K- key typeV- value type
@InternalApi
public interface TracerContextStorage<K,V>
Storage interface used for storing tracing context
- Opensearch.internal:
-
Field Summary
Fields -
Method Summary
-
Field Details
-
CURRENT_SPAN
Key for storing current span- See Also:
-
-
Method Details
-
get
Fetches value corresponding to key- Parameters:
key- of the tracing context- Returns:
- value for key
-
put
Puts tracing context value with key- Parameters:
key- of the tracing contextvalue- of the tracing context
-