We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99d50b7 commit 717f9d3Copy full SHA for 717f9d3
platform-includes/metrics/options/python.mdx
@@ -27,7 +27,7 @@ The metric dict has the following keys:
27
- `name`: (`str`) The name of the metric.
28
- `type`: (`str` - one of `counter`, `gauge`, `distribution`) The type of metric.
29
- `value`: (`float`) The numeric value of the metric.
30
-- `unit`: (`int`) The unit of measurement for the metric value.
+- `unit`: (`str`) The unit of measurement for the metric value.
31
- `attributes`: (`dict[str, str | bool | float | int]`) Additional attributes to be sent with the metric.
32
- `timestamp`: (`float`) Timestamp in seconds (epoch time) indicating when the metric was recorded.
33
- `trace_id`: (`Optional[str]`) The trace ID of the trace this metric belongs to.
0 commit comments