Constant GEN_AI_CLIENT_OPERATION_DURATION
pub const GEN_AI_CLIENT_OPERATION_DURATION: &'static str;
Expand description
§Description
GenAI operation duration
§Metadata
Instrument: | histogram |
Unit: | s |
Status: | Experimental |
§Attributes
Name | Requirement |
---|---|
crate::attribute::ERROR_TYPE | Conditionally_required : if the operation ended in an error |
crate::attribute::GEN_AI_OPERATION_NAME | Required |
crate::attribute::GEN_AI_REQUEST_MODEL | Required |
crate::attribute::GEN_AI_RESPONSE_MODEL | Recommended |
crate::attribute::GEN_AI_SYSTEM | Required |
crate::attribute::SERVER_ADDRESS | Recommended |
crate::attribute::SERVER_PORT | Conditionally_required : If server.address is set. |