opentelemetry_semantic_conventions::attribute

Constant SERVER_ADDRESS

source
pub const SERVER_ADDRESS: &str = "server.address";
Expand description

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

§Notes

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

§Examples

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