You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 14, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/docs/sdk/event-payloads/span.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,8 @@ import "./properties/tags.mdx";
32
32
33
33
: _Optional_. Arbitrary data associated with this Span.
34
34
35
+
The semantic conventions for the `data` field are described in <Linkto="/sdk/performance/span-data-conventions/">Sentry's Span Convention Documentation</Link>.
The Span Interface specifies a series of _timed_ application events that have a start and end time. Below describes the conventions for the Span interface for the `data` field on the span.
6
+
7
+
The `data` field on the span is expected to follow [OpenTelemetry's semantic conventions for attributes](https://github.com/open-telemetry/opentelemetry-specification/blob/24de67b3827a4e3ab2515cd8ab62d5bcf837c586/specification/trace/semantic_conventions/README.md) as much as possible.
8
+
9
+
Keys on the `data` field should be lower-case and use underscores instead of camel-case. There are some exceptions to this, but these exist because of backwards compatability.
10
+
11
+
Below describes the conventions for the Span interface for the `data` field on the span and how they are currently used by the product.
0 commit comments