opentelemetry_semantic_conventions::metric

Constant GEN_AI_CLIENT_TOKEN_USAGE

source
pub const GEN_AI_CLIENT_TOKEN_USAGE: &str = "gen_ai.client.token.usage";
Expand description

§Description

Measures number of input and output tokens used

§Metadata

Instrument:histogram
Unit:{token}
Status:Experimental

§Attributes