Skip to content

Commit 7989946

Browse files
author
RandomBuffer
authored
Add trace id and span id properties
Add trace id and span id properties missing from the documentation
1 parent 5612f0b commit 7989946

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ The following properties are available in expressions:
132132
* `@p` - a dictionary containing all first-class properties; this supports properties with non-identifier names, for example `@p['snake-case-name']`
133133
* `@i` - event id; a 32-bit numeric hash of the event's message template
134134
* `@r` - renderings; if any tokens in the message template include .NET-specific formatting, an array of rendered values for each such token
135+
* `@tr` - trace id; The id of the trace that was active when the event was created, if any
136+
* `@sp` - span id; The id of the span that was active when the event was created, if any
135137

136138
The built-in properties mirror those available in the CLEF format.
137139

0 commit comments

Comments
 (0)