Telemetry
Better Stack Integration
How to set up Better Stack monitoring with Shuttle
This guide will walk you through setting up Better Stack as your telemetry provider for Shuttle.
Prerequisites
- A Better Stack account (sign up if you don’t have one)
- A Shuttle project with the OpenTelemetry exporter enabled (see Getting Started)
Step 1: Create a Telemetry Source in Better Stack
- Log in to your Better Stack account
- Navigate to the Sources section
- Click Connect Source
- Choose a name for your telemetry source
- Select the OpenTelemetry option in the “platform” section
- Click “Connect Source” at the bottom of the page
Step 2: Configure Shuttle Project
- On the Source configuration page, locate and copy:
- Your source token
- The ingestion host URL
- In the Shuttle Console:
- Navigate to your project
- Go to the “Telemetry” tab
- Click to enable Better Stack
- Paste your source token and ingestion host
- Click “Apply”
Important: If your project was already running, you must redeploy it for telemetry to start flowing. To redeploy, select your latest deployment in the Shuttle Console and click “Redeploy”.
Step 3: Create Dashboards
Once telemetry data starts flowing, you can create custom dashboards in Better Stack:
- Go to the Dashboards section
- A new dashboard will be created automatically for your project
- Click the dots on any widget and select “Configure” to customize it
Better Stack offers several ways to visualize your data:
- SQL queries
- Visual drag-and-drop interface
- PromQL (beta)
Example: Creating a CPU Usage Graph
- Click the dots on a widget and select “Configure”
- Switch to the visual interface
- Add
cpu_usage_vcpu
as your metric - Set the Y-axis unit to “vCPU”
- Group by your project name
Available Metrics
Better Stack will receive all the standard Shuttle telemetry metrics, including:
- CPU usage and utilization
- Memory usage and limits
- Network I/O statistics
- Disk I/O statistics
- Custom metrics from your application
For a complete list of available metrics, see our telemetry overview.
Troubleshooting
If you don’t see data in Better Stack:
- Verify your source token and ingestion host are correct
- Check that your project has the
setup-otel-exporter
feature onshuttle-runtime
enabled - Ensure you’ve redeployed your project after enabling telemetry
- Contact Better Stack support or join our Discord community for help