Skip to content

Commit cde6728

Browse files
committed
note on measurements
1 parent 7bed719 commit cde6728

File tree

1 file changed

+5
-0
lines changed
  • docs/platforms/javascript/common/tracing/span-metrics

1 file changed

+5
-0
lines changed

docs/platforms/javascript/common/tracing/span-metrics/index.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,8 @@ When implementing span metrics in your application:
133133
- Ensure metrics can drive issue resolution or decision making
134134

135135
For detailed examples of how to implement span metrics in common scenarios, see our <PlatformLink to="/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

Comments
 (0)