groups:
  - id: registry.container.deprecated
    type: attribute_group
    display_name: Deprecated Container Attributes
    brief: "Describes deprecated container attributes."
    attributes:
      - id: container.labels
        type: template[string]
        examples: [ 'nginx' ]
        brief: "Deprecated, use `container.label` instead."
        stability: development
        deprecated:
          reason: renamed
          renamed_to: container.label
      - id: container.cpu.state
        brief: "Deprecated, use `cpu.mode` instead."
        type:
          members:
            - id: user
              value: 'user'
              brief: "When tasks of the cgroup are in user mode (Linux). When all container processes are in user mode (Windows)."
              stability: development
            - id: system
              value: 'system'
              brief: "When CPU is used by the system (host OS)"
              stability: development
            - id: kernel
              value: 'kernel'
              brief: "When tasks of the cgroup are in kernel mode (Linux). When all container processes are in kernel mode (Windows)."
              stability: development
        stability: development
        deprecated:
          reason: renamed
          renamed_to: cpu.mode
        examples: [ "user", "kernel" ]
      - id: container.runtime
        type: string
        stability: development
        deprecated:
          reason: renamed
          renamed_to: container.runtime.name
        brief: >
          The container runtime managing this container.
        examples: ['docker', 'containerd', 'rkt']
