Skip to main content
Version: Next

Queue

Application

The yunikorn_queue_app metric, introduced in version 1.5.0, tracks the number of applications and their container states in each queue using labels.

Metric details

Metric Type: gauge

Namespace: yunikorn

Labels:

  • queue: the name of the queue (e.g., "root.default")
  • state: the state of the application or container
    • Application states: accepted, running, rejected, failed, completed
    • Container states: allocated, released

TYPE: yunikorn_queue_app

yunikorn_queue_app{queue="root.default",state="accepted"} 3
yunikorn_queue_app{queue="root.default",state="running"} 3

Resource

The yunikorn_queue_resource metric, introduced in version 1.5.0, tracks the resource states in each queue using labels.

Metric details

Metric Type: gauge

Namespace: yunikorn

Labels:

  • queue: the name of the queue (e.g., "root")
  • state: the resource states include guaranteed, max, allocated, pending, preempting
  • resource: the type of resource (e.g., ephemeral-storage, memory, vcore, pods, hugepages-1Gi, hugepages-2Mi)

TYPE: yunikorn_queue_resource

yunikorn_queue_resource{queue="root",resource="ephemeral-storage",state="max"} 9.41009558e+10
yunikorn_queue_resource{queue="root",resource="hugepages-1Gi",state="max"} 0
yunikorn_queue_resource{queue="root",resource="hugepages-2Mi",state="max"} 0
yunikorn_queue_resource{queue="root",resource="memory",state="max"} 1.6223076352e+10
yunikorn_queue_resource{queue="root",resource="pods",state="max"} 110
yunikorn_queue_resource{queue="root",resource="vcore",state="max"} 8000