NetworkAttributes

org.typelevel.otel4s.semconv.attributes.NetworkAttributes

Attributes

Source
NetworkAttributes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

abstract class NetworkTransportValue(val value: String)

Values for NetworkTransport.

Values for NetworkTransport.

Attributes

Companion
object
Source
NetworkAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Pipe
object Tcp
object Udp
object Unix

Attributes

Companion
class
Source
NetworkAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class NetworkTypeValue(val value: String)

Values for NetworkType.

Values for NetworkType.

Attributes

Companion
object
Source
NetworkAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Ipv4
object Ipv6

Attributes

Companion
class
Source
NetworkAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete fields

Local address of the network connection - IP address or Unix domain socket name.

Local address of the network connection - IP address or Unix domain socket name.

Attributes

Source
NetworkAttributes.scala

Local port number of the network connection.

Local port number of the network connection.

Attributes

Source
NetworkAttributes.scala

Peer address of the network connection - IP address or Unix domain socket name.

Peer address of the network connection - IP address or Unix domain socket name.

Attributes

Source
NetworkAttributes.scala

Peer port number of the network connection.

Peer port number of the network connection.

Attributes

Source
NetworkAttributes.scala

OSI application layer or non-OSI equivalent.

OSI application layer or non-OSI equivalent.

Attributes

Note

  • The value SHOULD be normalized to lowercase.

Source
NetworkAttributes.scala

The actual version of the protocol used for network communication.

The actual version of the protocol used for network communication.

Attributes

Note

  • If protocol version is subject to negotiation (for example using <a href="https://www.rfc-editor.org/rfc/rfc7301.html">ALPN), this attribute SHOULD be set to the negotiated version. If the actual protocol version is not known, this attribute SHOULD NOT be set.

Source
NetworkAttributes.scala

OSI transport layer or <a href="https://wikipedia.org/wiki/Inter-process_communication">inter-process communication method.

OSI transport layer or <a href="https://wikipedia.org/wiki/Inter-process_communication">inter-process communication method.

Attributes

Note

  • The value SHOULD be normalized to lowercase.

  • Consider always setting the transport when setting a port number, since a port number is ambiguous without knowing the transport. For example different processes could be listening on TCP port 12345 and UDP port 12345.

Source
NetworkAttributes.scala
val NetworkType: AttributeKey[String]

OSI network layer or non-OSI equivalent.

OSI network layer or non-OSI equivalent.

Attributes

Note

  • The value SHOULD be normalized to lowercase.

Source
NetworkAttributes.scala