Package-level declarations

Types

Link copied to clipboard
abstract class AbstractTracer : Tracer

An abstract implementation of a tracer. 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 tracer provider. By default, this class uses no-op implementations for all members unless overridden in a subclass.

Link copied to clipboard
abstract class AbstractTraceSpan : TraceSpan

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

Link copied to clipboard
interface SpanContext

The immutable state that must be serialized and propagated as part of a distributed trace context.

Link copied to clipboard

Indicates whether a span is a remote child or parent from the point of view of the instrumented code.

Link copied to clipboard

Indicates whether the operation/task represented by a span is known to be successful or not.

Link copied to clipboard
interface Tracer

Entry point for creating TraceSpan instances.

Link copied to clipboard
interface TracerProvider

The entry point for creating Tracer instances.

Link copied to clipboard
interface TraceSpan : Scope

Represents a single operation/task within a trace. Each trace contains a root span and optionally one or more child spans.

Inherited functions

Link copied to clipboard

Set common error attributes from an exception

Link copied to clipboard
fun <T : Any> TraceSpan.setAttribute(key: String, value: T)

Set an attribute on the span using a string key