View Source OpenTelemetry.SemConv.ClientAttributes (OpenTelemetry.SemConv v1.27.0)

OpenTelemetry Semantic Conventions for Client attributes.

Summary

Functions

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

Client port number.

Functions

@spec client_address() :: :"client.address"

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

Value type

Value must be of type atom() | String.t().

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"]
iex> OpenTelemetry.SemConv.ClientAttributes.client_address()
:"client.address"
@spec client_port() :: :"client.port"

Client port number.

Value type

Value must be of type integer().

Notes

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

Examples

[65123]
iex> OpenTelemetry.SemConv.ClientAttributes.client_port()
:"client.port"