---
title: Spacelift
description: Monitor Spacelift Stacks, Runs, Workerpools, and Usage
breadcrumbs: Docs > Integrations > Spacelift
---

# Spacelift
Supported OS marketplaceIntegration version1.0.0   Spacelift Dashboard - StacksSpacelift Dashboard - Stack RunsSpacelift Dashboard - WorkerPools & Usage
## Overview{% #overview %}

Spacelift is a CI/CD platform that automates infrastructure as code workflows, providing state management, preview environments, and compliance checks. The Spacelift integration allows organizations to actively monitor their Spacelift accounts to track their Stacks, Runs, Workerpools, and billing data by submitting metrics relevant to Stack locking and blocking, Stack run statuses, Workerpool statuses, and licensing consumption.

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

### Metrics{% #metrics %}

|  |
|  |
| **rapdev.spacelift.stack.is\_blocked**(gauge)                      | Submits a 1 if the Stack is in a blocked state.                                                  |
| **rapdev.spacelift.stack.is\_locked**(gauge)                       | Submits a 1 if the Stack is locked.                                                              |
| **rapdev.spacelift.stack.last\_run\_failed**(gauge)                | Submits a 1 if the last run of the Stack failed.                                                 |
| **rapdev.spacelift.stack.last\_run\_succeeded**(gauge)             | Submits a 1 if the last run of the Stack succeeded.                                              |
| **rapdev.spacelift.stack.last\_run\_unconfirmed**(gauge)           | Submits a 1 if the last run of the Stack is unconfirmed.                                         |
| **rapdev.spacelift.stack.last\_state\_change**(gauge)              | Number of seconds since the Stack's last state change.*Shown as second*                          |
| **rapdev.spacelift.stack.locked\_time**(gauge)                     | Number of seconds that the stack has been locked.*Shown as second*                               |
| **rapdev.spacelift.stack.notification\_count**(gauge)              | Number of the new stack notifications.                                                           |
| **rapdev.spacelift.stack.run.done**(gauge)                         | Submits a 1 per stack run that has completed running.*Shown as run*                              |
| **rapdev.spacelift.stack.run.policy\_evaluated**(gauge)            | Submits a 1 per policy evaluated for a stack run.                                                |
| **rapdev.spacelift.stack.run.resources\_in\_state**(gauge)         | Total number of resources in the state before applying the change.*Shown as resource*            |
| **rapdev.spacelift.stack.run.resources\_to\_change**(gauge)        | Count of resources to modify in-place.*Shown as resource*                                        |
| **rapdev.spacelift.stack.run.resources\_to\_create**(gauge)        | Count of resources to create.*Shown as resource*                                                 |
| **rapdev.spacelift.stack.run.resources\_to\_delete**(gauge)        | Count of resources to destroy.*Shown as resource*                                                |
| **rapdev.spacelift.usage.allowed\_minutes**(gauge)                 | Number of minutes that can be used within the billing period.*Shown as minute*                   |
| **rapdev.spacelift.usage.allowed\_seats**(gauge)                   | Number of users who can log in within the billing period.*Shown as user*                         |
| **rapdev.spacelift.usage.billing\_period\_end**(gauge)             | Time until the end of the billing period.*Shown as second*                                       |
| **rapdev.spacelift.usage.price\_per\_run\_minute**(gauge)          | The unit amount (in cents) to be charged per run-minute.*Shown as cent*                          |
| **rapdev.spacelift.usage.price\_per\_seat**(gauge)                 | The unit amount (in cents) to be charged per seat monthly.*Shown as cent*                        |
| **rapdev.spacelift.usage.price\_per\_worker**(gauge)               | The unit amount (in cents) to be charged per worker monthly.*Shown as cent*                      |
| **rapdev.spacelift.usage.subscription\_price**(gauge)              | The unit amount (in cents) to be monthly charged for the subscription.*Shown as cent*            |
| **rapdev.spacelift.usage.upcoming\_invoice\_total\_amount**(gauge) | Cost forecast of the upcoming invoice.*Shown as cent*                                            |
| **rapdev.spacelift.usage.used\_minutes**(gauge)                    | Number of minutes used within the current billing period.*Shown as minute*                       |
| **rapdev.spacelift.usage.used\_private\_minutes**(gauge)           | Number of private minutes used within the current billing period.*Shown as minute*               |
| **rapdev.spacelift.usage.used\_public\_minutes**(gauge)            | Number of public minutes used within the current billing period.*Shown as minute*                |
| **rapdev.spacelift.usage.used\_seats**(gauge)                      | Number of users who last logged in during current billing period.*Shown as user*                 |
| **rapdev.spacelift.usage.used\_workers**(gauge)                    | Maximum number of concurrent self-hosted workers in the current billing period.*Shown as worker* |
| **rapdev.spacelift.workerpool.busy\_workers**(gauge)               | Number of currently busy workers in this worker pool.*Shown as worker*                           |
| **rapdev.spacelift.workerpool.notification\_count**(gauge)         | Number of the new worker pool notifications.                                                     |
| **rapdev.spacelift.workerpool.pending\_runs**(gauge)               | Number of runs ready for processing by this WorkerPool.*Shown as run*                            |
| **rapdev.spacelift.workerpool.queued\_runs**(gauge)                | Count of queued runs on the public worker pool workers for this account.*Shown as run*           |
| **rapdev.spacelift.workerpool.users\_count**(gauge)                | Count of users on the public worker pool workers for this account.*Shown as user*                |
| **rapdev.spacelift.workerpool.workers\_count**(gauge)              | Count of users of workers.*Shown as worker*                                                      |
| **rapdev.spacelift.workerpool.worker.age**(gauge)                  | Age of the worker pool worker.*Shown as second*                                                  |
| **rapdev.spacelift.workerpool.worker.is\_idle**(gauge)             | Submits a 1 if the worker is idle.                                                               |
| **rapdev.spacelift.workerpool.worker.is\_busy**(gauge)             | Submits a 1 if the worker is busy.                                                               |
| **rapdev.spacelift.workerpool.worker.is\_drained**(gauge)          | Submits a 1 if the worker is drained.                                                            |

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

**rapdev.spacelift.can\_authenticate**

Returns `OK` if the agent can retrieve a JWT token from Spacelift, `CRITICAL` if it can't.

*Statuses: ok, critical*

**rapdev.spacelift.can\_query**

Returns `OK` if the agent can run the query against Spacelift, `CRITICAL` if it can't.

*Statuses: ok, critical*

## Support{% #support %}

For support or feature requests, contact RapDev.io through the following channels:

- Support: [support@rapdev.io](mailto:support@rapdev.io)
- Sales: [sales@rapdev.io](mailto:sales@rapdev.io)
- Chat: [rapdev.io](https://www.rapdev.io/#Get-in-touch)
- Phone: 855-857-0222

Made with ❤️ in Boston

*This isn't the integration you're looking for? Missing a critical feature for your organization? Drop RapDev a [note](mailto:support@rapdev.io), and we'll build it!!*

This application is made available through the Marketplace and is supported by a Datadog Technology Partner. Click Here to purchase this application.
