View Source OpenTelemetry.SemConv.Incubating.SourceAttributes (OpenTelemetry.SemConv v1.27.0)
OpenTelemetry Semantic Conventions for Source attributes.
Summary
Functions
Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
Source port number
Functions
@spec source_address() :: :"source.address"
Source 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 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"]
iex> OpenTelemetry.SemConv.Incubating.SourceAttributes.source_address()
:"source.address"
?SOURCE_ADDRESS.
'source.address'
@spec source_port() :: :"source.port"
Source port number
Value type
Value must be of type integer()
.
Examples
[3389, 2888]
iex> OpenTelemetry.SemConv.Incubating.SourceAttributes.source_port()
:"source.port"
?SOURCE_PORT.
'source.port'