OpenTelemetry.Baggage (OpenTelemetry API v1.4.0)

View Source

Baggage is used to annotate telemetry, adding context and information to metrics, traces, and logs. It is represented by a set of name/value pairs describing user-defined properties.

Summary

Functions

clear()

See :otel_baggage.clear/0.

clear(ctx)

See :otel_baggage.clear/1.

get_all()

See :otel_baggage.get_all/0.

get_all(ctx)

See :otel_baggage.get_all/1.

set(keyvalues)

See :otel_baggage.set/1.

set(ctx_or_key, keyvalues)

See :otel_baggage.set/2.

set(ctx, key, value)

See :otel_baggage.set/3.

set(ctx, key, values, metadata)

See :otel_baggage.set/4.