Package-level declarations

Types

Link copied to clipboard
abstract class AbstractContext : Context

An abstract implementation of telemetry provider context. By default, this class uses no-op implementations for all members unless overridden in a subclass.

Link copied to clipboard

An abstract implementation of a context manager. By default, this class uses no-op implementations for all members unless overridden in a subclass.

Link copied to clipboard
abstract class AbstractScope : Scope

An abstract implementation of a scope. By default, this class uses no-op implementations for all members unless overridden in a subclass.

Link copied to clipboard
interface Context

Context is an opaque propagation mechanism for telemetry providers to carry execution scoped values across API boundaries.

Link copied to clipboard
interface ContextManager

Responsible for managing the current context with callers current execution unit. For example, some implementations use Thread Local storage for managing the current context.

Link copied to clipboard
interface Scope

Delineates a logical scope that has a beginning and end (e.g. a function)

Link copied to clipboard
expect class TelemetryContextElement(context: Context)

A CoroutineContext element that carries a telemetry Context.

Inherited properties

Link copied to clipboard
val <Error class: unknown class>.telemetryContext: Context?

Extract the current telemetry Context from the coroutine context if available.