diff --git a/CHANGELOG.md b/CHANGELOG.md index 470f1f43e..18ada80b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ Full list of differences found in [this compare](https://github.com/open-telemet * Add a field for W3C-specified Trace Context flags to the `Span` and `Link`. [#503](https://github.com/open-telemetry/opentelemetry-proto/pull/503) +* Add a field for W3C-specified Trace Context TraceState to the `LogRecord`. + [#503](https://github.com/open-telemetry/opentelemetry-proto/pull/503) ## 1.0.0 - 2023-07-03 diff --git a/opentelemetry/proto/logs/v1/logs.proto b/opentelemetry/proto/logs/v1/logs.proto index f9b97dd74..6a7533dda 100644 --- a/opentelemetry/proto/logs/v1/logs.proto +++ b/opentelemetry/proto/logs/v1/logs.proto @@ -208,4 +208,9 @@ message LogRecord { // - the field is not present, // - the field contains an invalid value. bytes span_id = 10; + + // trace_state conveys information about request position in multiple distributed tracing graphs. + // It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header + // See also https://github.com/w3c/distributed-tracing for more details about this field. + string trace_state = 12; }