Skip to content

Commit 694132c

Browse files
authored
ref(spans): Warn about experimental attachments (#15804)
1 parent d465876 commit 694132c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

develop-docs/sdk/data-model/envelope-items.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ file. It is always associated to an event or transaction.
115115

116116
### Trace Attachment
117117

118+
<Alert level="warning">
119+
Trace attachments are an experimental feature that is still under development.
120+
</Alert>
121+
118122
Item type `"attachment"` with content type `"application/vnd.sentry.trace-attachment"`. This item contains a raw payload of an attachment together with metadata. Contrary to V1 attachments, trace attachments are only optionally associated with other trace items (spans, logs, ...). Their main association is with the trace itself.
119123

120124
**Envelope Headers:**

develop-docs/sdk/telemetry/spans/span-protocol.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ span_id: "438f40bd3b4a41ee"
218218

219219
## Span Attachments
220220

221+
<Alert level="warning">
222+
Span attachments are an experimental feature that is still under development.
223+
</Alert>
224+
221225
To associate an attachment with a span, submit a [trace attachment](/sdk/data-model/envelope-items/#trace-attachment) item with an additional `span_id` item header. The trace attachment _should_ be submitted in the same envelope as the span itself.
222226

223227
- `span_id` is the ID of the span that owns the attachment. If set, the attachment will be dropped with the span if the span is dropped by dynamic sampling, inbound filters or rate limits. That is, Relay treats `span_id` as the owner of the attachment.

0 commit comments

Comments
 (0)