getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
7.84k stars 1.54k forks source link

Support span level measurements #10398

Open krystofwoldrich opened 7 months ago

krystofwoldrich commented 7 months ago

According to our develop docs the span protocol supports measurements. The relay protocol definition includes measurements as well.

Up until now, our SDKs set the measurement value on the root transaction instead of the span itself. We should change that to allow measurements on a span level. This will help us reporting slow + frozen frames, frame delay, etc. going forward to span streaming.

mydea commented 5 months ago

We should implement this as span events (to be otel compatible). We need this for v8 to replace the current measurements that are tied to transactions (which are going away)!

AbhiPrasad commented 4 months ago

This will be done with https://github.com/getsentry/sentry-javascript/issues/10945