semconv.com

Specificationv1.50.0

since v1.49.0
15 breaking26 notable24 editorial

From the upstream release notes

Read the full release notes

Breaking15

Requirements added to, removed from, or restrengthened in a document marked Stable.

  • rule droppedrequirementlogs/sdk.md#loggerconfigMUST removed: The value of disabled MUST be used to resolve whether a Logger is Enabled.
  • new rulerequirementlogs/sdk.md#emit-a-logrecordMUST added: Status: Development Before processing a log record, the implementation MUST apply the filtering rules defined by the LoggerConfig (in case Enabled was not called prior to emitting the record):
  • new rulerequirementlogs/sdk.md#emit-a-logrecordMUST added: Minimum severity: If the log record's SeverityNumber is specified (i.e. not 0) and is less than the configured minimum_severity, the log record MUST be dropped.
  • new rulerequirementlogs/sdk.md#emit-a-logrecordMUST added: Trace-based: If trace_based is true, and if the log record has a SpanId and the TraceFlags SAMPLED flag is unset, the log record MUST be dropped.
  • new rulerequirementlogs/sdk.md#loggerconfigMUST added: If not explicitly set, the minimum_severity parameter MUST default to 0.
  • new rulerequirementlogs/sdk.md#loggerconfigMUST added: If a log record's SeverityNumber is specified (i.e. not 0) and is less than the configured minimum_severity, the log record MUST be dropped by the Logger.
  • new rulerequirementlogs/sdk.md#loggerconfigMUST added: If not explicitly set, the trace_based parameter MUST default to false.
  • new rulerequirementlogs/sdk.md#loggerconfigMUST added: If trace_based is true, log records associated with unsampled traces MUST be dropped by the Logger.
  • new rulerequirementlogs/sdk.md#loggerconfigMUST added: However, the changes MUST be eventually visible.
  • new rulerequirementtrace/sdk.md#probabilitysamplerMUST added: The ProbabilitySampler sampler MUST ignore the parent SampledFlag.
  • new rulerequirementtrace/sdk.md#requirements-for-traceidratiobased-sampler-algorithmMUST added: The sampling algorithm MUST be deterministic.
  • new rulerequirementtrace/sdk.md#requirements-for-traceidratiobased-sampler-algorithmMUST added: A trace identified by a given TraceId is sampled or not independent of language, time, etc. To achieve this, implementations MUST use a deterministic hash of the TraceId when computing the sampling decision.
  • new rulerequirementtrace/sdk.md#requirements-for-traceidratiobased-sampler-algorithmMUST added: A TraceIdRatioBased sampler with a given sampling probability MUST also sample all traces that any TraceIdRatioBased sampler with a lower sampling probability would sample.
  • new rulerequirementtrace/sdk.md#traceidratiobasedSHALL NOT added: OpenTelemetry SDK implementors SHALL NOT remove or modify the behavior of the original TraceIdRatioBased sampler until at least January 1,
  • new rulerequirementtrace/sdk.md#tracerconfigMUST added: However, the changes MUST be eventually visible.

Notable26

Editorial24