Skip to content

Commit e499018

Browse files
committed
Add TraceState to the LogRecord
Signed-off-by: Bogdan Drutu <[email protected]>
1 parent ea449ae commit e499018

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Full list of differences found in [this compare](https://github.com/open-telemet
88

99
* Add a field for W3C-specified Trace Context flags to the `Span` and `Link`.
1010
[#503](https://github.com/open-telemetry/opentelemetry-proto/pull/503)
11+
* Add a field for W3C-specified Trace Context TraceState to the `LogRecord`.
12+
[#503](https://github.com/open-telemetry/opentelemetry-proto/pull/503)
1113

1214
## 1.0.0 - 2023-07-03
1315

opentelemetry/proto/logs/v1/logs.proto

+5
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,9 @@ message LogRecord {
208208
// - the field is not present,
209209
// - the field contains an invalid value.
210210
bytes span_id = 10;
211+
212+
// trace_state conveys information about request position in multiple distributed tracing graphs.
213+
// It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header
214+
// See also https://github.com/w3c/distributed-tracing for more details about this field.
215+
string trace_state = 12;
211216
}

0 commit comments

Comments
 (0)