Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions pkg/stanza/docs/types/trace.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ If a `trace` block is specified, the parser operator will perform the trace pars
regexp: '^TraceID=(?P<trace_id>\S*) SpanID=(?P<span_id>\S*) TraceFlags=(?P<trace_flags>\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
```

---
Expand All @@ -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
```