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: develop-docs/sdk/telemetry/scopes.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ Attributes are key-value pairs where each value is either a an attribute value o
63
63
-`value`: The actual attribute value, which MUST match the specified type
64
64
-`unit` (optional): The unit of measurement (e.g., `"millisecond"`, `"second"`, `"byte"`, `"ration"`).
65
65
- SDKs MAY delay adding support for units for the moment, but MUST be able to do so at a later date without a breaking change.
66
-
- SDKS MUST allow users to set all units supported by Relay's [`MetricUnit` enum](https://getsentry.github.io/relay/relay_metrics/enum.MetricUnit.html) but MUST NOT allow custom units [(`CustomUnit`)](https://getsentry.github.io/relay/relay_metrics/struct.CustomUnit.html) or "none" units (`''` or `'none'`).
66
+
- SDKS MUST allow users to set all units supported by Relay's [`MetricUnit` enum](https://getsentry.github.io/relay/relay_metrics/enum.MetricUnit.html) but MUST NOT allow custom units (i.e. arbitrary strings, defined in [`CustomUnit`](https://getsentry.github.io/relay/relay_metrics/struct.CustomUnit.html)) or "none" units (`''` or `'none'`).
67
67
-`type` (optional): The type of the attribute. SDKs SHOULD NOT expose this to users if they can reliably infer the type from the value. If not, SDKs MAY allow or require users to set the `type` explicitly.
0 commit comments