You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This step is only required if you want to emit custom metrics and logs from your application. If you only need the default CPU, network, and memory metrics, you can skip this step.
44
+
</Note>
45
+
46
+
Follow the [Getting Started guide](./getting-started#step-1-enable-the-opentelemetry-exporter) to enable the OpenTelemetry exporter in your project.
47
+
48
+
## Step 4: Redeploy Your Project
49
+
41
50
<Warning>
42
51
**Important**: If your project was already running, you must redeploy it for telemetry to start flowing.
43
-
To redeploy, select your latest deployment in the Shuttle Console and click "Redeploy".
52
+
53
+
- If you've made code changes (like adding custom metrics), redeploy using the Shuttle CLI: `shuttle deploy`
54
+
- If you haven't made any code changes, you can redeploy from the Shuttle Console by selecting your latest deployment and clicking "Redeploy"
44
55
</Warning>
45
56
46
-
## Step 3: Create Dashboards
57
+
## Step 5: Create Dashboards
47
58
48
59
Once telemetry data starts flowing, you can create custom dashboards in Better Stack:
49
60
@@ -73,14 +84,14 @@ Better Stack will receive all the standard Shuttle telemetry metrics, including:
73
84
- Memory usage and limits
74
85
- Network I/O statistics
75
86
- Disk I/O statistics
76
-
- Custom metrics from your application
87
+
- Custom metrics from your application (requires OpenTelemetry exporter from Step 3)
77
88
78
89
For a complete list of available metrics, see our [telemetry overview](./overview#default-platform-metrics).
79
90
80
91
## Troubleshooting
81
92
82
93
If you don't see data in Better Stack:
83
94
1. Verify your source token and ingestion host are correct
84
-
2.Check that your project has the `setup-otel-exporter` feature on `shuttle-runtime` enabled
95
+
2.If you're using custom metrics, check that your project has the `setup-otel-exporter` feature on `shuttle-runtime` enabled
85
96
3. Ensure you've redeployed your project after enabling telemetry
86
97
4. Contact [Better Stack support](https://betterstack.com/contact) or join our [Discord community](https://discord.gg/shuttle) for help
0 commit comments