Skip to content
semconv.com
↑↓ move↵ openUse with your agent →

Network

as of v1.45.0

Addresses, ports, transports and TLS — the connection every client and server span sits on.

tls 29network 25net 15client 8server 8geo 7destination 6source 6dns 2peer 1

Attributes
107
Metrics
1
Signals
0
Stable
12
Deprecated
17

Metrics 1

  • dns.lookup.duration
    Developmenthistogram · sMeasures the time taken to perform a DNS lookup.

Specification

  • Metricsare bound by the metrics specification — 569 requirements across 8 documents, 296 of them MUST or SHALL.

The specification prose never names this domain. That is not an omission: the specification defines signals, not subject matter — what binds tls telemetry is the general rules above, and the conventions themselves carry the rest.

On the wire, this lands in metrics/v1/metrics. Field-by-field definitions are under OTLP.

Attributes 107

tls29 attributes

  • tls.cipher
    DevelopmentString indicating the cipher used during the current connection.
  • tls.client.certificate
    DevelopmentPEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of client.certificate_chain since this value also exists in that l
  • tls.client.certificate_chain
    DevelopmentArray of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of client.certificate since that
  • tls.client.hash.md5
    DevelopmentCertificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value sho
  • tls.client.hash.sha1
    DevelopmentCertificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value sh
  • tls.client.hash.sha256
    DevelopmentCertificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value
  • tls.client.issuer
    DevelopmentDistinguished name of subject of the issuer of the x.509 certificate presented by the client.
  • tls.client.ja3
    DevelopmentA hash that identifies clients based on how they perform an SSL/TLS handshake.
  • tls.client.not_after
    DevelopmentDate/Time indicating when client certificate is no longer considered valid.
  • tls.client.not_before
    DevelopmentDate/Time indicating when client certificate is first considered valid.
  • tls.client.server_name
    Deprecated→ server.addressDeprecated, use server.address instead.
  • tls.client.subject
    DevelopmentDistinguished name of subject of the x.509 certificate presented by the client.
  • tls.client.supported_ciphers
    DevelopmentArray of ciphers offered by the client during the client hello.
  • tls.curve
    DevelopmentString indicating the curve used for the given cipher, when applicable
  • tls.established
    DevelopmentBoolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel.
  • tls.next_protocol
    DevelopmentString indicating the protocol being tunneled. Per the values in the IANA registry, this string should be lower case.
  • tls.protocol.name
    DevelopmentNormalized lowercase protocol name parsed from original string of the negotiated SSL/TLS protocol version
  • tls.protocol.version
    DevelopmentNumeric part of the version parsed from the original string of the negotiated SSL/TLS protocol version
  • tls.resumed
    DevelopmentBoolean flag indicating if this TLS connection was resumed from an existing TLS negotiation.
  • tls.server.certificate
    DevelopmentPEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of server.certificate_chain since this value also exists in that l
  • tls.server.certificate_chain
    DevelopmentArray of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of server.certificate since that
  • tls.server.hash.md5
    DevelopmentCertificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value sho
  • tls.server.hash.sha1
    DevelopmentCertificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value sh
  • tls.server.hash.sha256
    DevelopmentCertificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value
  • tls.server.issuer
    DevelopmentDistinguished name of subject of the issuer of the x.509 certificate presented by the client.
  • tls.server.ja3s
    DevelopmentA hash that identifies servers based on how they perform an SSL/TLS handshake.
  • tls.server.not_after
    DevelopmentDate/Time indicating when server certificate is no longer considered valid.
  • tls.server.not_before
    DevelopmentDate/Time indicating when server certificate is first considered valid.
  • tls.server.subject
    DevelopmentDistinguished name of subject of the x.509 certificate presented by the server.

network25 attributes

net15 attributes

client8 attributes

  • client.address
    StableClient address - domain name if available without reverse DNS lookup; otherwise, IP address or UNIX domain socket name.
  • client.as.number
    DevelopmentThe Autonomous System Number (ASN) associated with the client IP address.
  • client.as.organization
    DevelopmentThe name of the organization associated with the autonomous system of the client IP address.
  • client.mac.address
    DevelopmentClient Media Access Control (MAC) address.
  • client.port
    StableClient port number.
  • client.prefix
    DevelopmentThe IP prefix associated with the client IP address, in CIDR notation.
  • client.service.name
    DevelopmentLogical name of the service acting as the client in a connection-based network interaction.
  • client.service.namespace
    DevelopmentLogical namespace of the service acting as the client in a connection-based network interaction.

server8 attributes

  • server.address
    StableServer domain name if available without reverse DNS lookup; otherwise, IP address or UNIX domain socket name.
  • server.as.number
    DevelopmentThe Autonomous System Number (ASN) associated with the server IP address.
  • server.as.organization
    DevelopmentThe name of the organization associated with the autonomous system of the server IP address.
  • server.mac.address
    DevelopmentServer Media Access Control (MAC) address.
  • server.port
    StableServer port number.
  • server.prefix
    DevelopmentThe IP prefix associated with the server IP address, in CIDR notation.
  • server.service.name
    DevelopmentLogical name of the service acting as the server in a connection-based network interaction.
  • server.service.namespace
    DevelopmentLogical namespace of the service acting as the server in a connection-based network interaction.

geo7 attributes

  • geo.continent.code
    DevelopmentTwo-letter code representing continent’s name.
  • geo.country.iso_code
    DevelopmentTwo-letter ISO Country Code (ISO 3166-1 alpha2).
  • geo.locality.name
    DevelopmentLocality name. Represents the name of a city, town, village, or similar populated place.
  • geo.location.lat
    DevelopmentLatitude of the geo location in WGS84.
  • geo.location.lon
    DevelopmentLongitude of the geo location in WGS84.
  • geo.postal_code
    DevelopmentPostal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to cou
  • geo.region.iso_code
    DevelopmentRegion ISO code (ISO 3166-2).

destination6 attributes

  • destination.address
    DevelopmentDestination address as observed at the point of instrumentation - typically an IP address, or a UNIX domain socket name; a domain name only when the receiver wa
  • destination.as.number
    DevelopmentThe Autonomous System Number (ASN) associated with the destination IP address.
  • destination.as.organization
    DevelopmentThe name of the organization associated with the autonomous system of the destination IP address.
  • destination.mac.address
    DevelopmentDestination Media Access Control (MAC) address.
  • destination.port
    DevelopmentDestination port number
  • destination.prefix
    DevelopmentThe IP prefix associated with the destination IP address, in CIDR notation.

source6 attributes

  • source.address
    DevelopmentSource address as observed at the point of instrumentation - typically an IP address, or a UNIX domain socket name; a domain name only when the sender was addre
  • source.as.number
    DevelopmentThe Autonomous System Number (ASN) associated with the source IP address.
  • source.as.organization
    DevelopmentThe name of the organization associated with the autonomous system of the source IP address.
  • source.mac.address
    DevelopmentSource Media Access Control (MAC) address.
  • source.port
    DevelopmentSource port number
  • source.prefix
    DevelopmentThe IP prefix associated with the source IP address, in CIDR notation.

dns2 attributes

peer1 attribute

  • peer.service
    DeprecatedThe service.name of the remote service. SHOULD be equal to the actual service.name resource attribute of the remote service if any.

Recent changes

Breaking and notable changes to this domain across the last 6 semantic-conventions releases.

  • Deprecatedattributepeer.serviceUse server.service.name on the client side or client.service.name on the server side.
  • Strengthattributeserver.addressOn rpc.client.call.duration: recommended to required.
  • Strengthattributeserver.portOn rpc.client.call.duration and span.rpc.call.server: recommended to conditionally required.
  • Stabilityattributenetwork.connection.statePromoted to release_candidate.
  • Usageattributeserver.addressNow referenced by attributes.metrics.db.client.connection.pool, attributes.rpc.server.server and 17 others (recommended).
  • Usageattributeserver.portNow referenced by attributes.metrics.db.client.connection.pool, attributes.rpc.server.server and 17 others (conditionally required).
  • Stabilityattributenetwork.interface.namePromoted to release_candidate.
  • Stabilityattributenetwork.io.directionPromoted to release_candidate.
  • Usageattributeserver.portNow referenced by attributes.gen_ai.invoke_agent.client, gen_ai.client.operation.time_per_output_chunk and 1 other (conditionally required).

Topics are this site's grouping of upstream namespaces, not a structure the OpenTelemetry project publishes. JSON · All domains