Skip to content

Commit 9cd9a39

Browse files
authored
Update metric attributes for tracing and replays (#15819)
1 parent 7046237 commit 9cd9a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

develop-docs/sdk/telemetry/metrics.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ We're currently working on a concept for buffering different types of telemetry
460460

461461
#### Tracing
462462

463-
Metrics should be associated with traces. If a metric is recorded during an active span, the SDK should set the `sentry.trace.parent_span_id` attribute to the span id of the span that was active when the metric was collected.
463+
Metrics should be associated with traces if possible. If a metric is recorded during an active span, the SDK should set the `span_id` property of the metric to the span id of the span that was active when the metric was collected.
464464

465465
#### Replays
466466

0 commit comments

Comments
 (0)