MetricEvent
Standalone metric event for observe.metrics() middleware.
Used when @opentelemetry/api is not installed.
Properties
Section titled “Properties”attributes
Section titled “attributes”attributes:
Record<string,string>
Attribute key-value pairs.
name:
string
Metric name (e.g., “agent_express_model_calls_total”).
type:
"counter"|"histogram"
Metric type.
value:
number
Value (increment for counter, observation for histogram).