Skip to content

miniproto.observability.MetricEvent

MetricEvent(name: str, value: float, unit: str = 'count', attributes: Mapping[str, object] = dict(), timestamp: float = time.time()) -> None

Immutable metric event recorded with a unit, attributes, and wall-clock timestamp.

Attributes: