opentelemetry_semantic_conventions::attribute

Constant SERVER_PORT

Source
pub const SERVER_PORT: &str = "server.port";
Expand description

Server port number.

§Notes

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

§Examples

  • 80
  • 8080
  • 443