Skip to content

Commit 4d42124

Browse files
cmanallenbitsandfoxes
authored andcommitted
Add naming conventions for flags on spans (#13362)
* Add convention for flags * Formatting
1 parent 9d8f73b commit 4d42124

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

develop-docs/sdk/telemetry/traces/span-data-conventions.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ Below describes the conventions for the Span interface for the `data` field on t
102102
| `thread.id` | string | Identifier of a thread from where the span originated. | `123456` |
103103
| `thread.name` | string | Label identifying a thread from where the span originated. | `main` |
104104

105+
## Flags
106+
107+
| Attribute | Type | Description | Examples |
108+
| ------------------------------------| ------- | ------------------------------------------------| ------------ |
109+
| `flag.evaluation.<flag-name>` | string | Identifier of a flag evaluated within the span. | `can_access` |
110+
111+
105112
### Deprecated
106113

107114
Names that SDKs are still sending so we cannot remove them yet, but should not be used in new code.

0 commit comments

Comments
 (0)