groups:
  - id: registry.network.deprecated
    type: attribute_group
    display_name: Deprecated Network Attributes
    brief: >
        These attributes may be used for any network related operation.
    attributes:
      - id: net.sock.peer.name
        type: string
        deprecated:
          reason: obsoleted
          note: "Removed. No replacement at this time."
        stability: development
        brief: Deprecated, no replacement at this time.
        examples: ['/var/my.sock']
      - id: net.sock.peer.addr
        type: string
        deprecated:
          reason: renamed
          renamed_to: network.peer.address
        stability: development
        brief: Deprecated, use `network.peer.address`.
        examples: ['192.168.0.1']
      - id: net.sock.peer.port
        type: int
        deprecated:
          reason: renamed
          renamed_to: network.peer.port
        stability: development
        examples: [65531]
        brief: Deprecated, use `network.peer.port`.
      - id: net.peer.name
        type: string
        deprecated:
          reason: uncategorized
          note: Replaced by `server.address` on client spans and `client.address` on server spans.
        stability: development
        brief: Deprecated, use `server.address` on client spans and `client.address` on server spans.
        examples: ['example.com']
      - id: net.peer.port
        type: int
        deprecated:
          reason: uncategorized
          note: Replaced by `server.port` on client spans and `client.port` on server spans.
        stability: development
        brief: Deprecated, use `server.port` on client spans and `client.port` on server spans.
        examples: [8080]
      - id: net.peer.ip
        type: string
        deprecated:
          reason: renamed
          renamed_to: network.peer.address
        stability: development
        brief: Deprecated, use `network.peer.address`.
        examples: '127.0.0.1'
      - id: net.host.name
        type: string
        deprecated:
          reason: renamed
          renamed_to: server.address
        stability: development
        brief: Deprecated, use `server.address`.
        examples: ['example.com']
      - id: net.host.ip
        type: string
        deprecated:
          reason: renamed
          renamed_to: network.local.address
        stability: development
        brief: Deprecated, use `network.local.address`.
        examples: '192.168.0.1'
      - id: net.host.port
        type: int
        deprecated:
          reason: renamed
          renamed_to: server.port
        stability: development
        brief: Deprecated, use `server.port`.
        examples: [8080]
      - id: net.sock.host.addr
        type: string
        deprecated:
          reason: renamed
          renamed_to: network.local.address
        stability: development
        brief: Deprecated, use `network.local.address`.
        examples: ['/var/my.sock']
      - id: net.sock.host.port
        type: int
        deprecated:
          reason: renamed
          renamed_to: network.local.port
        stability: development
        brief: Deprecated, use `network.local.port`.
        examples: [8080]
      - id: net.transport
        type:
          members:
            - id: ip_tcp
              value: "ip_tcp"
              stability: development
            - id: ip_udp
              value: "ip_udp"
              stability: development
            - id: pipe
              value: "pipe"
              brief: 'Named or anonymous pipe.'
              stability: development
            - id: inproc
              value: "inproc"
              brief: 'In-process communication.'
              stability: development
              note: >
                Signals that there is only in-process communication not using a "real" network protocol
                in cases where network attributes would normally be expected. Usually all other network
                attributes can be left out in that case.
            - id: other
              value: "other"
              stability: development
              brief: 'Something else (non IP-based).'
        deprecated:
          reason: renamed
          renamed_to: network.transport
        stability: development
        brief: Deprecated, use `network.transport`.
      - id: net.protocol.name
        type: string
        deprecated:
          reason: renamed
          renamed_to: network.protocol.name
        stability: development
        brief: Deprecated, use `network.protocol.name`.
        examples: ['amqp', 'http', 'mqtt']
      - id: net.protocol.version
        type: string
        deprecated:
          reason: renamed
          renamed_to: network.protocol.version
        stability: development
        brief: Deprecated, use `network.protocol.version`.
        examples: '3.1.1'
      - id: net.sock.family
        type:
          members:
            - id: inet
              value: 'inet'
              brief: "IPv4 address"
              stability: development
            - id: inet6
              value: 'inet6'
              brief: "IPv6 address"
              stability: development
            - id: unix
              value: 'unix'
              brief: "Unix domain socket path"
              stability: development
        deprecated:
          reason: uncategorized
          note: Split to `network.transport` and `network.type`.
        stability: development
        brief: Deprecated, use `network.transport` and `network.type`.
