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
Copy file name to clipboardExpand all lines: docs/platforms/javascript/common/tracing/span-metrics/index.mdx
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,3 +133,8 @@ When implementing span metrics in your application:
133
133
- Ensure metrics can drive issue resolution or decision making
134
134
135
135
For detailed examples of how to implement span metrics in common scenarios, see our <PlatformLinkto="/tracing/span-metrics/examples/">Span Metrics Examples</PlatformLink> guide.
136
+
137
+
## Span Metrics vs. Measurements
138
+
139
+
Previously, Sentry supported adding metrics to transactions using the `Sentry.setMeasurement()` API.
140
+
This approach is deprecated, you should use span attributes instead.
0 commit comments