Skip to content

Commit 717f9d3

Browse files
update unit type
1 parent 99d50b7 commit 717f9d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform-includes/metrics/options/python.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The metric dict has the following keys:
2727
- `name`: (`str`) The name of the metric.
2828
- `type`: (`str` - one of `counter`, `gauge`, `distribution`) The type of metric.
2929
- `value`: (`float`) The numeric value of the metric.
30-
- `unit`: (`int`) The unit of measurement for the metric value.
30+
- `unit`: (`str`) The unit of measurement for the metric value.
3131
- `attributes`: (`dict[str, str | bool | float | int]`) Additional attributes to be sent with the metric.
3232
- `timestamp`: (`float`) Timestamp in seconds (epoch time) indicating when the metric was recorded.
3333
- `trace_id`: (`Optional[str]`) The trace ID of the trace this metric belongs to.

0 commit comments

Comments
 (0)