opentelemetry_semantic_conventions::attribute

Constant CLIENT_ADDRESS

source
pub const CLIENT_ADDRESS: &str = "client.address";
Expand description

Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.

§Notes

When observed from the server side, and when communicating through an intermediary, client.address SHOULD represent the client address behind any intermediaries, for example proxies, if it’s available.

§Examples

  • "client.example.com"
  • "10.1.2.80"
  • "/tmp/my.sock"