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
Copy file name to clipboardExpand all lines: apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.dashboards.custom.$dashboardId/route.tsx
Trigger.dev collects system and runtime metrics automatically for deployed tasks, and provides an API for recording custom metrics using OpenTelemetry.
84
84
85
-
You can view metrics in the [Metrics dashboards](/insights/metrics), query them with [TRQL](/insights/query), and export them to external services via [telemetry exporters](/config/config-file#telemetry-exporters).
85
+
You can view metrics in the [Dashboards](/observability/dashboards), query them with [TRQL](/observability/query), and export them to external services via [telemetry exporters](/config/config-file#telemetry-exporters).
86
86
87
87
### Custom metrics API
88
88
@@ -175,7 +175,7 @@ All metrics (both automatic and custom) are tagged with run context so you can f
175
175
176
176
### Querying metrics
177
177
178
-
Use [TRQL](/insights/query) to query metrics data. For example, to see average CPU utilization over time:
178
+
Use [TRQL](/observability/query) to query metrics data. For example, to see average CPU utilization over time:
179
179
180
180
```sql
181
181
SELECT
@@ -188,7 +188,7 @@ ORDER BY timeBucket
188
188
LIMIT1000
189
189
```
190
190
191
-
See the [Query page](/insights/query#metrics-table-columns) for the full `metrics` table schema.
191
+
See the [Query page](/observability/query#metrics-table-columns) for the full `metrics` table schema.
Copy file name to clipboardExpand all lines: docs/observability/dashboards.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,19 @@
1
1
---
2
-
title: "Metrics dashboards"
2
+
title: "Dashboards"
3
3
description: "Create custom dashboards with real-time metrics powered by TRQL queries."
4
4
---
5
5
6
6
## Overview
7
7
8
8
In the Trigger.dev dashboard we have built-in dashboards and you can create your own.
9
9
10
-
Metrics dashboards are powered by [TRQL queries](/insights/query) with widgets that can be displayed as charts, tables, or single values. They automatically refresh to show the latest data.
10
+
Dashboards are powered by [TRQL queries](/observability/query) with widgets that can be displayed as charts, tables, or single values. They automatically refresh to show the latest data.
11
11
12
12
### Available metrics data
13
13
14
14
Trigger.dev automatically collects process metrics (CPU, memory) and Node.js runtime metrics (event loop, heap) for all deployed tasks -- no configuration needed. Requires SDK version **4.4.1 or later**. You can also create custom metrics using the `otel.metrics` API from the SDK.
15
15
16
-
All of this data is available in the `metrics` table for use in dashboard widgets. See [Logging, tracing & metrics](/logging#metrics) for the full list of automatic metrics and how to create custom ones, or the [Query page](/insights/query#metrics-table-columns) for the `metrics` table schema.
16
+
All of this data is available in the `metrics` table for use in dashboard widgets. See [Logging, tracing & metrics](/logging#metrics) for the full list of automatic metrics and how to create custom ones, or the [Query page](/observability/query#metrics-table-columns) for the `metrics` table schema.
0 commit comments