---
title: CoreWeave SUNK
description: >-
  Monitor CoreWeave SUNK Slurm job queues, node state, GPU and CPU allocation,
  and scheduler performance.
breadcrumbs: Docs > Integrations > CoreWeave SUNK
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# CoreWeave SUNK
Integration version1.0.0
{% callout %}
# Important note for users on the following Datadog sites: us2.ddog-gov.com

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

[CoreWeave SUNK](https://docs.coreweave.com/products/sunk) (Slurm on Kubernetes) runs the Slurm workload manager on CoreWeave Kubernetes Service, letting you schedule Slurm batch jobs and Kubernetes workloads on the same GPU and CPU compute for AI training, inference, and HPC workloads.

This integration allows you to monitor Slurm job and queue state, node state and drains, CPU and GPU allocation by node and partition, scheduler and backfill cycle performance, and controller RPC activity for your SUNK clusters.

## Setup{% #setup %}

### Installation{% #installation %}

This integration is included with the CoreWeave integration. Once you set up the CoreWeave integration, no additional installation is needed.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **coreweave.slurm.high_ratio_of_nodes_in_drain_nodes_in_drain_ratio_min10_nodes**(gauge) | CoreWeave-computed percentage of Kubernetes nodes in the SUNK cluster that are in a drain state, used to detect a high ratio of drained nodes.*Shown as percent* |
| **coreweave.slurm.prober_probe_total**(count)                                                     | Cumulative number of liveness, readiness, or startup probes run for a container, by result.                                                                      |
| **coreweave.slurm.k8s_nodes_in_drain**(gauge)                                                    | CoreWeave-computed number of Kubernetes nodes in the SUNK cluster that are in a drain state.*Shown as node*                                                      |
| **coreweave.slurm.controller_rpc_count**(count)                                                   | Number of Slurm controller RPCs, per message type.                                                                                                               |
| **coreweave.slurm.controller_rpc_mean_duration_seconds**(gauge)                                 | Mean duration of Slurm controller RPCs, per message type.*Shown as second*                                                                                       |
| **coreweave.slurm.job_cpus_allocated**(gauge)                                                     | Number of CPUs allocated to a running Slurm job on each Slurm node.*Shown as cpu*                                                                                |
| **coreweave.slurm.job_gpus_allocated**(gauge)                                                     | Number of GPUs allocated to a running Slurm job on each Slurm node.                                                                                              |
| **coreweave.slurm.job_state**(gauge)                                                               | Current state of a Slurm job, given by the state tag.                                                                                                            |
| **coreweave.slurm.job_uptime_seconds**(gauge)                                                     | Number of seconds a Slurm job has been running.*Shown as second*                                                                                                 |
| **coreweave.slurm.jobs_pending**(gauge)                                                            | Number of pending jobs in the Slurm cluster.*Shown as job*                                                                                                       |
| **coreweave.slurm.jobs_running**(gauge)                                                            | Number of running jobs in the Slurm cluster.*Shown as job*                                                                                                       |
| **coreweave.slurm.node_cpu_alloc**(gauge)                                                         | Number of CPUs allocated on the Slurm node.*Shown as cpu*                                                                                                        |
| **coreweave.slurm.node_cpu_idle**(gauge)                                                          | Number of idle CPUs on the Slurm node.*Shown as cpu*                                                                                                             |
| **coreweave.slurm.node_cpu_total**(gauge)                                                         | Total number of CPUs on the Slurm node.*Shown as cpu*                                                                                                            |
| **coreweave.slurm.node_drain_time**(gauge)                                                        | Time at which the Slurm node was drained, as a Unix timestamp.                                                                                                   |
| **coreweave.slurm.node_gpu_alloc**(gauge)                                                         | Number of GPUs allocated on the Slurm node.                                                                                                                      |
| **coreweave.slurm.node_gpu_total**(gauge)                                                         | Total number of GPUs on the Slurm node.                                                                                                                          |
| **coreweave.slurm.node_state**(gauge)                                                              | Current state of a Slurm node, given by the state tag.                                                                                                           |
| **coreweave.slurm.nodes_alloc**(gauge)                                                             | Number of Slurm nodes in the allocated state.*Shown as node*                                                                                                     |
| **coreweave.slurm.nodes_comp**(gauge)                                                              | Number of Slurm nodes in the completing state.*Shown as node*                                                                                                    |
| **coreweave.slurm.nodes_down**(gauge)                                                              | Number of Slurm nodes in the down state.*Shown as node*                                                                                                          |
| **coreweave.slurm.nodes_drain**(gauge)                                                             | Number of Slurm nodes in the drain state.*Shown as node*                                                                                                         |
| **coreweave.slurm.nodes_err**(gauge)                                                               | Number of Slurm nodes in the error state.*Shown as node*                                                                                                         |
| **coreweave.slurm.nodes_fail**(gauge)                                                              | Number of Slurm nodes in the fail state.*Shown as node*                                                                                                          |
| **coreweave.slurm.nodes_idle**(gauge)                                                              | Number of Slurm nodes in the idle state.*Shown as node*                                                                                                          |
| **coreweave.slurm.nodes_mix**(gauge)                                                               | Number of Slurm nodes in the mixed state.*Shown as node*                                                                                                         |
| **coreweave.slurm.nodes_not_responding**(gauge)                                                   | Number of Slurm nodes in the not responding state.*Shown as node*                                                                                                |
| **coreweave.slurm.nodes_total**(gauge)                                                             | Total number of Slurm nodes.*Shown as node*                                                                                                                      |
| **coreweave.slurm.partition_cpu_alloc**(gauge)                                                    | Number of CPUs allocated in the Slurm partition.*Shown as cpu*                                                                                                   |
| **coreweave.slurm.partition_cpu_idle**(gauge)                                                     | Number of idle CPUs in the Slurm partition.*Shown as cpu*                                                                                                        |
| **coreweave.slurm.partition_gpu_alloc**(gauge)                                                    | Number of GPUs allocated in the Slurm partition.                                                                                                                 |
| **coreweave.slurm.partition_gpu_idle**(gauge)                                                     | Number of idle GPUs in the Slurm partition.                                                                                                                      |
| **coreweave.slurm.queue_canceled**(gauge)                                                          | Number of canceled jobs in the Slurm cluster that slurmctld still tracks.*Shown as job*                                                                          |
| **coreweave.slurm.queue_completed**(gauge)                                                         | Number of completed jobs in the Slurm cluster that slurmctld still tracks.*Shown as job*                                                                         |
| **coreweave.slurm.queue_completing**(gauge)                                                        | Number of completing jobs in the Slurm cluster.*Shown as job*                                                                                                    |
| **coreweave.slurm.queue_failed**(gauge)                                                            | Number of failed jobs in the Slurm cluster that slurmctld still tracks.*Shown as job*                                                                            |
| **coreweave.slurm.queue_node_fail**(gauge)                                                        | Number of jobs stopped due to node failure that slurmctld still tracks.*Shown as job*                                                                            |
| **coreweave.slurm.queue_pending**(gauge)                                                           | Number of pending jobs in the Slurm scheduler queue.*Shown as job*                                                                                               |
| **coreweave.slurm.queue_preempted**(gauge)                                                         | Number of preempted jobs in the Slurm cluster that slurmctld still tracks.*Shown as job*                                                                         |
| **coreweave.slurm.queue_running**(gauge)                                                           | Number of running jobs in the Slurm cluster.*Shown as job*                                                                                                       |
| **coreweave.slurm.queue_suspended**(gauge)                                                         | Number of suspended jobs in the Slurm cluster.*Shown as job*                                                                                                     |
| **coreweave.slurm.queue_timeout**(gauge)                                                           | Number of timed-out jobs in the Slurm cluster that slurmctld still tracks.*Shown as job*                                                                         |
| **coreweave.slurm.scheduler_backfill_cycle_last_seconds**(gauge)                                | Duration of the last Slurm backfill scheduling cycle.*Shown as second*                                                                                           |
| **coreweave.slurm.scheduler_backfill_cycle_mean_seconds**(gauge)                                | Mean duration of Slurm backfill scheduling cycles.*Shown as second*                                                                                              |
| **coreweave.slurm.scheduler_backfill_depth_mean**(gauge)                                         | Mean depth of the Slurm backfill scheduler.                                                                                                                      |
| **coreweave.slurm.scheduler_backfilled_jobs_cycle_total**(count)                                | Number of jobs started by backfilling since Slurm scheduler statistics were last reset.*Shown as job*                                                            |
| **coreweave.slurm.scheduler_backfilled_jobs_total**(count)                                       | Number of jobs started by backfilling since Slurm last started.*Shown as job*                                                                                    |
| **coreweave.slurm.scheduler_cycle_last_seconds**(gauge)                                          | Duration of the last Slurm scheduling cycle.*Shown as second*                                                                                                    |
| **coreweave.slurm.scheduler_cycle_mean_seconds**(gauge)                                          | Mean duration of Slurm scheduling cycles.*Shown as second*                                                                                                       |
| **coreweave.slurm.scheduler_dbd_queue**(gauge)                                                    | Number of items in the Slurm scheduler's database daemon (slurmdbd) agent queue.                                                                                 |
| **coreweave.slurm.scheduler_queue**(gauge)                                                         | Number of items in the Slurm scheduler agent queue.                                                                                                              |
| **coreweave.slurm.scheduler_threads**(gauge)                                                       | Number of active Slurm controller (slurmctld) threads.*Shown as thread*                                                                                          |

### Events{% #events %}

CoreWeave SUNK does not include any events.

### Service Checks{% #service-checks %}

CoreWeave SUNK does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
