diff --git a/pkg/stanza/docs/types/trace.md b/pkg/stanza/docs/types/trace.md index 5c0e3e767c119..5968b6b76c266 100644 --- a/pkg/stanza/docs/types/trace.md +++ b/pkg/stanza/docs/types/trace.md @@ -25,11 +25,11 @@ If a `trace` block is specified, the parser operator will perform the trace pars regexp: '^TraceID=(?P\S*) SpanID=(?P\S*) TraceFlags=(?P\d*)' trace: trace_id: - parse_from: body.trace_id + parse_from: attributes.trace_id span_id: - parse_from: body.span_id + parse_from: attributes.span_id trace_flags: - parse_from: body.trace_flags + parse_from: attributes.trace_flags ``` --- @@ -39,9 +39,9 @@ As a special case, the [`trace_parser`](../operators/trace_parser.md) operator s ```yaml - type: trace_parser trace_id: - parse_from: body.trace_id + parse_from: attributes.trace_id span_id: - parse_from: body.span_id + parse_from: attributes.span_id trace_flags: - parse_from: body.trace_flags + parse_from: attributes.trace_flags ```