Histogram metrics
These are aggregate metric instruments. The same signals are also recorded as per-request span attributes, and a few carry a different name on spans than as a metric — for example, the throughput metric
gen_ai.client.output_tokens_per_second is recorded on individual spans as gen_ai.server.output_tokens_per_second. The metric and the span attribute are distinct artifacts.Counter metrics
Dimensions
Metrics carry these dimensions, letting you break signals down by operation, provider, and model:
The token usage metric additionally carries
gen_ai.token.type (input or output).
Related
Span attributes
The attributes recorded on each span.
Observe
Where you view your data.