Users should be able to: `void Transaction#setMeasurement(String name, num value, {SentryMeasurementUnit? unit})` `transaction.setMeasurement('name', 10, unit: SentryMeasurementUnit.milliseconds);` When the transaction is finished, setting a custom measurement is a no-op; see https://github.com/getsentry/sentry-dart/pull/1026. Depends on https://github.com/getsentry/team-mobile/issues/31 Spec https://develop.sentry.dev/sdk/event-payloads/transaction/ DACI https://www.notion.so/sentry/Custom-Measurements-Units-Protocol-7d3752b43bb946bf87d96e401268ca02 - [X] [Dart](https://github.com/getsentry/sentry-dart/pull/1011) - [x] [Android](https://github.com/getsentry/sentry-java/pull/2260) - [x] https://github.com/getsentry/sentry-cocoa/pull/2268 - [X] [React Native](https://github.com/getsentry/sentry-react-native/pull/2360) - [x] .[NET](https://github.com/getsentry/sentry-dotnet/issues/1951) Patch the docs and add code snippets https://github.com/getsentry/sentry-docs/edit/master/src/platforms/common/performance/instrumentation/performance-metrics.mdx
Users should be able to:
void Transaction#setMeasurement(String name, num value, {SentryMeasurementUnit? unit})transaction.setMeasurement('name', 10, unit: SentryMeasurementUnit.milliseconds);When the transaction is finished, setting a custom measurement is a no-op; see getsentry/sentry-dart#1026.
Depends on
#31
Spec https://develop.sentry.dev/sdk/event-payloads/transaction/
DACI https://www.notion.so/sentry/Custom-Measurements-Units-Protocol-7d3752b43bb946bf87d96e401268ca02
Patch the docs and add code snippets https://github.com/getsentry/sentry-docs/edit/master/src/platforms/common/performance/instrumentation/performance-metrics.mdx