Commit 18e731b
authored
ref(develop/scopes): Clarify unit type for attributes (#15546)
For now we specify units on attributes as follows:
- accept all `MetricUnit`s (see
[Relay](https://getsentry.github.io/relay/relay_metrics/enum.MetricUnit.html))
- except for `''`, `'none'`
- except for custom units (arbitrary strings). <-- we can revisit this
if we want to widen the type here1 parent 53030d6 commit 18e731b
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
0 commit comments