> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-worktree-docs-descriptions.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Datadog - Upstash QStash Integration

> Connect Datadog with Upstash QStash to monitor message delivery, retries, DLQ, and schedules with dashboards and analytics.

This guide walks you through connecting your Datadog account with Upstash QStash for monitoring and analytics of your message delivery, retries, DLQ, and schedules.

<Check>
  **Integration Scope**

  Upstash Datadog Integration covers Prod Pack.
</Check>

## **Step 1: Log in to Your Datadog Account**

1. Go to [Datadog](https://www.datadoghq.com/) and sign in.

## **Step 2: Install Upstash Application**

1. In Datadog, open the Integrations page.
2. Search for "Upstash" and open the integration.

<img src="https://mintcdn.com/upstash-worktree-docs-descriptions/mymEY_IZOb5e87qM/img/datadog/integration-tab.png?fit=max&auto=format&n=mymEY_IZOb5e87qM&q=85&s=5f4f8beafbda6602696c66c30a349185" alt="integration-tab.png" width="2880" height="1028" data-path="img/datadog/integration-tab.png" />

Click "Install" to add Upstash to your Datadog account.

<img src="https://mintcdn.com/upstash-worktree-docs-descriptions/mymEY_IZOb5e87qM/img/datadog/installation.png?fit=max&auto=format&n=mymEY_IZOb5e87qM&q=85&s=0d028df6cf012e8830112fdbe40b28b1" alt="installation.png" width="2802" height="1384" data-path="img/datadog/installation.png" />

## **Step 3: Connect Accounts**

After installing Upstash, click "Connect Accounts". Datadog will redirect you to Upstash to complete account linking.

<img src="https://mintcdn.com/upstash-worktree-docs-descriptions/mymEY_IZOb5e87qM/img/datadog/connect-acc.png?fit=max&auto=format&n=mymEY_IZOb5e87qM&q=85&s=1e217602c1a1bf8cd83e05b278624500" alt="connect-acc.png" width="1756" height="936" data-path="img/datadog/connect-acc.png" />

## **Step 4: Select Account to Integrate**

1. On Upstash, select the Datadog account to integrate.
2. Personal and team accounts are supported.

**Caveats**

* The integration can be established once at a time. To change the account scope (e.g., add/remove teams), re-establish the integration from scratch.

<img src="https://mintcdn.com/upstash-worktree-docs-descriptions/mymEY_IZOb5e87qM/img/datadog/personal.png?fit=max&auto=format&n=mymEY_IZOb5e87qM&q=85&s=55a18a83afec29e367c579714831a182" alt="personal.png" width="886" height="1026" data-path="img/datadog/personal.png" />

<img src="https://mintcdn.com/upstash-worktree-docs-descriptions/mymEY_IZOb5e87qM/img/datadog/team.png?fit=max&auto=format&n=mymEY_IZOb5e87qM&q=85&s=4eeba17901797b46cb9219d83cf388c1" alt="team.png" width="950" height="1104" data-path="img/datadog/team.png" />

## **Step 5: Wait for Metrics Availability**

Once the integration is completed, metrics from QStash (publish counts, success/error rates, retries, DLQ, schedule executions) will start appearing in Datadog dashboards shortly.

<img src="https://mintcdn.com/upstash-worktree-docs-descriptions/mymEY_IZOb5e87qM/img/datadog/upstash-qstash-dashboard.png?fit=max&auto=format&n=mymEY_IZOb5e87qM&q=85&s=c82f757b2f9bf79160998f061cf9550e" alt="upstash-dashboard.png" width="2728" height="1508" data-path="img/datadog/upstash-qstash-dashboard.png" />

## **Step 6: Datadog Integration Removal Process**

From Datadog → Integrations → Upstash, press "Remove" to break the connection.

### Confirm Removal

Upstash will stop publishing metrics after removal. Ensure any Datadog API keys/configurations for this integration are also removed on the Datadog side.

## **Conclusion**

You’ve connected Datadog with Upstash QStash. Explore Datadog dashboards to monitor message delivery performance and reliability.

If you need help, contact support.
