OpenTelemetry SDK
    Preparing search index...

    Variable ATTR_DESTINATION_PREFIXConst Experimental

    ATTR_DESTINATION_PREFIX: "destination.prefix" = ...

    The IP prefix associated with the destination IP address, in CIDR notation.

    192.0.2.0/24
    
    2001:db8::/32
    
    Warning

    This attribute may contain sensitive (PII) information. A /32> IPv4 prefix or /128> IPv6 prefix preserves the complete endpoint IP address. Using CIDR notation does not guarantee that the data is anonymous.

    The value MUST be an IPv4 or IPv6 network prefix in CIDR notation, as defined in RFC 4632 for IPv4 and RFC 4291 for IPv6. IPv4 prefixes MUST use a dotted-decimal address followed by / and a decimal prefix length from 0 to 32. IPv6 prefixes MUST use the canonical address text representation defined in RFC 5952, followed by / and a decimal prefix length from 0 to 128. All host bits in the address MUST be set to zero. The value MUST NOT contain a domain name, UNIX domain socket name, or IPv6 zone identifier.

    Instrumentation or Collector receivers that populate this attribute MUST convert native representations, such as an address and subnet mask or an address and prefix length, to equivalent CIDR notation before emitting it.

    This attribute MAY be set whether or not destination.address is set. If destination.address is also set to an IP address, it MUST use the same IP version and be contained in this prefix.

    This attribute is experimental and is subject to breaking changes in minor releases of @opentelemetry/semantic-conventions.