Integration ScopeUpstash Prometheus Integration covers Prod Pack.
Step 1: Enable Prometheus in Upstash Console
- Open the Upstash Console and navigate to QStash.
- Go to Settings → Monitoring.
- Enable Prometheus to allow scraping QStash metrics.

Step 2: Copy Monitoring Token
- After enabling, a monitoring token is generated and displayed.
- Copy the token. It will be used to authenticate Prometheus requests.
Header FormatSend the token as
Authorization: Bearer <MONITORING_TOKEN>
.
Step 3: Configure Prometheus (via Grafana Data Source)
- In Grafana, add a Prometheus data source.
- Set the address to
https://api.upstash.com/monitoring/prometheus
. - In HTTP headers, add the monitoring token.



Step 4: Import Dashboard
You can use the Upstash Grafana dashboard to visualize QStash metrics. Open the import dialog and use: Upstash QStash Dashboard