OpenTelemetry API v1.0.0-rc.3.1 OpenTelemetry.Ctx

Ctx is responsible for propagating values within a process that are associated with a particular Trace or set of Baggage. OpenTelemetry.Tracer and OpenTelemetry.Baggage handle updating the Context.

Link to this section Summary

Functions

See :otel_ctx.attach/1.

See :otel_ctx.clear/0.

See :otel_ctx.detach/1.

See :otel_ctx.get_current/0.

See :otel_ctx.get_value/2.

See :otel_ctx.get_value/3.

See :otel_ctx.new/0.

See :otel_ctx.remove/1.

See :otel_ctx.set_value/2.

See :otel_ctx.set_value/3.

Link to this section Types

Link to this type

t()

t() :: :otel_ctx.t()

Link to this section Functions

See :otel_ctx.attach/1.

See :otel_ctx.clear/0.

See :otel_ctx.detach/1.

See :otel_ctx.get_current/0.

Link to this function

get_value(key, default)

See :otel_ctx.get_value/2.

Link to this function

get_value(ctx, key, default)

See :otel_ctx.get_value/3.

See :otel_ctx.new/0.

See :otel_ctx.remove/1.

Link to this function

set_value(key, value)

See :otel_ctx.set_value/2.

Link to this function

set_value(ctx, key, value)

See :otel_ctx.set_value/3.