pub const GEN_AI_SERVER_TIME_PER_OUTPUT_TOKEN: &str = "gen_ai.server.time_per_output_token";
Expand description
§Description
Time per output token generated after the first token for successful responses.
§Metadata
Instrument: | histogram |
Unit: | s |
Status: | Experimental |
§Attributes
Name | Requirement |
---|---|
crate::attribute::GEN_AI_OPERATION_NAME | Required |
crate::attribute::GEN_AI_REQUEST_MODEL | Required |
crate::attribute::GEN_AI_SYSTEM | Required |
crate::attribute::SERVER_PORT | Conditionally required : If server.address is set. |
crate::attribute::GEN_AI_RESPONSE_MODEL | Recommended |
crate::attribute::SERVER_ADDRESS | Recommended |