getsentry / getsentry/sentry-cocoa

Support span level measurements

Open
#3,599 2 comments 0 reactions 0 assignees View on GitHub
Cocoa Feature Spans
Dominant language
Swift
Stars
1.1k
Forks
418
Avg merge
2d 3h
Merged PRs (30d)
106

Description

### Context
According to our develop docs the [span protocol supports measurements](https://develop.sentry.dev/sdk/event-payloads/span/).
The [relay protocol definition includes measurements](https://github.com/getsentry/relay/blob/f51ca9435f986e104e245dbd48eab880e03662e7/relay-event-schema/src/protocol/span.rs#L82) 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.

Also see https://github.com/getsentry/team-mobile/issues/172.

Consider changing sending frames delay data to span level measurements when achieving this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.