From 79899466db072ecd3e4b3cd67ab45e1e97135ca1 Mon Sep 17 00:00:00 2001 From: RandomBuffer <160499735+RandomBuffer@users.noreply.github.com> Date: Wed, 6 Mar 2024 00:37:09 +1100 Subject: [PATCH] Add trace id and span id properties Add trace id and span id properties missing from the documentation --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 87aed36..b2017ab 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,8 @@ The following properties are available in expressions: * `@p` - a dictionary containing all first-class properties; this supports properties with non-identifier names, for example `@p['snake-case-name']` * `@i` - event id; a 32-bit numeric hash of the event's message template * `@r` - renderings; if any tokens in the message template include .NET-specific formatting, an array of rendered values for each such token + * `@tr` - trace id; The id of the trace that was active when the event was created, if any + * `@sp` - span id; The id of the span that was active when the event was created, if any The built-in properties mirror those available in the CLEF format.