pub const GEN_AI_SERVER_TIME_TO_FIRST_TOKEN: &str = "gen_ai.server.time_to_first_token";
Expand description
§Description
Time to generate 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 |