opentelemetry_semantic_conventions::attribute

Constant SOURCE_ADDRESS

Source
pub const SOURCE_ADDRESS: &str = "source.address";
Expand description

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

§Notes

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

§Examples

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