From 734124b6774fa6e4e3d4df312140b0f7e482e39a Mon Sep 17 00:00:00 2001 From: Colton Allen Date: Fri, 11 Apr 2025 10:31:19 -0500 Subject: [PATCH 1/2] Add convention for flags --- .../sdk/telemetry/traces/span-data-conventions.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/develop-docs/sdk/telemetry/traces/span-data-conventions.mdx b/develop-docs/sdk/telemetry/traces/span-data-conventions.mdx index e300847d7f8b9..6681dbe8c55fd 100644 --- a/develop-docs/sdk/telemetry/traces/span-data-conventions.mdx +++ b/develop-docs/sdk/telemetry/traces/span-data-conventions.mdx @@ -102,6 +102,13 @@ Below describes the conventions for the Span interface for the `data` field on t | `thread.id` | string | Identifier of a thread from where the span originated. | `123456` | | `thread.name` | string | Label identifying a thread from where the span originated. | `main` | +## Flags + +| Attribute | Type | Description | Examples | +| ------------------| ------- | -------------------------------------------------------------------| -------- | +| `flag.evaluation.` | string | Identifier of a flag evaluated within the span. | `can_access` | + + ### Deprecated Names that SDKs are still sending so we cannot remove them yet, but should not be used in new code. From c03bd9df6ddb0fe562a72d0f2ca3ba52dbedfe23 Mon Sep 17 00:00:00 2001 From: Colton Allen Date: Fri, 11 Apr 2025 10:31:55 -0500 Subject: [PATCH 2/2] Formatting --- develop-docs/sdk/telemetry/traces/span-data-conventions.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/develop-docs/sdk/telemetry/traces/span-data-conventions.mdx b/develop-docs/sdk/telemetry/traces/span-data-conventions.mdx index 6681dbe8c55fd..55d89176bdfaa 100644 --- a/develop-docs/sdk/telemetry/traces/span-data-conventions.mdx +++ b/develop-docs/sdk/telemetry/traces/span-data-conventions.mdx @@ -104,9 +104,9 @@ Below describes the conventions for the Span interface for the `data` field on t ## Flags -| Attribute | Type | Description | Examples | -| ------------------| ------- | -------------------------------------------------------------------| -------- | -| `flag.evaluation.` | string | Identifier of a flag evaluated within the span. | `can_access` | +| Attribute | Type | Description | Examples | +| ------------------------------------| ------- | ------------------------------------------------| ------------ | +| `flag.evaluation.` | string | Identifier of a flag evaluated within the span. | `can_access` | ### Deprecated