Skip to main content

RPC_SERVER_RESPONSES_PER_RPC

Constant RPC_SERVER_RESPONSES_PER_RPC 

pub const RPC_SERVER_RESPONSES_PER_RPC: &'static str;
👎Deprecated:

{note: Removed, no replacement at this time., reason: obsoleted}

Available on crate features opentelemetry and semconv_experimental only.
Expand description

§Description

Measures the number of messages sent per RPC.

§Notes

Should be 1 for all non-streaming RPCs.

Streaming: This metric is required for server and client streaming RPCs

§Metadata

Instrument:histogram
Unit:{count}
Status:Development

§Attributes

NameRequirement
crate::attribute::ERROR_TYPEConditionally_required: If and only if the operation failed.
crate::attribute::RPC_METHODConditionally_required: if available.
crate::attribute::RPC_RESPONSE_STATUS_CODEConditionally_required: if available.
crate::attribute::RPC_SYSTEM_NAMERequired
crate::attribute::SERVER_ADDRESSOpt_in
crate::attribute::SERVER_PORTOpt_in