groups:
  - id: registry.cpu
    prefix: cpu
    type: attribute_group
    brief: Attributes specific to a cpu instance.
    attributes:
      - id: mode
        brief: "The mode of the CPU"
        type:
          allow_custom_values: true
          # TODO: Fix how enum members are used in semantic conventions after https://github.com/open-telemetry/build-tools/issues/192 is merged
          members:
            - id: user
              value: 'user'
              stability: experimental
            - id: system
              value: 'system'
              stability: experimental
            - id: nice
              value: 'nice'
              stability: experimental
            - id: idle
              value: 'idle'
              stability: experimental
            - id: iowait
              value: 'iowait'
              stability: experimental
            - id: interrupt
              value: 'interrupt'
              stability: experimental
            - id: steal
              value: 'steal'
              stability: experimental
            - id: kernel
              value: 'kernel'
              stability: experimental
        stability: experimental
        examples: [ "user", "system" ]
