Skip to content

Commit 7e15372

Browse files
committed
omit system metrics for now
1 parent 951f172 commit 7e15372

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

docs/insights/query.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ SELECT
227227
task_identifier,
228228
avg(value) AS avg_memory
229229
FROM metrics
230-
WHERE metric_name = 'system.memory.usage'
230+
WHERE metric_name = 'process.memory.usage'
231231
GROUP BY task_identifier
232232
ORDER BY avg_memory DESC
233233
LIMIT 20
@@ -536,14 +536,14 @@ LIMIT 1000
536536

537537
### Memory usage by task (past 7d)
538538

539-
Average memory usage per task identifier over the last 7 days.
539+
Average process memory usage per task identifier over the last 7 days.
540540

541541
```sql
542542
SELECT
543543
task_identifier,
544544
avg(value) AS avg_memory
545545
FROM metrics
546-
WHERE metric_name = 'system.memory.usage'
546+
WHERE metric_name = 'process.memory.usage'
547547
GROUP BY task_identifier
548548
ORDER BY avg_memory DESC
549549
LIMIT 20

docs/logging.mdx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -152,21 +152,14 @@ Trigger.dev automatically collects the following metrics for deployed tasks. No
152152
| `process.cpu.utilization` | gauge | ratio | Process CPU usage (0-1) |
153153
| `process.cpu.time` | counter | seconds | CPU time consumed |
154154
| `process.memory.usage` | gauge | bytes | Process memory usage |
155-
| `system.memory.usage` | gauge | bytes | System memory usage |
156-
| `system.memory.utilization` | gauge | ratio | System memory utilization (0-1) |
157-
| `system.network.io` | counter | bytes | Network I/O |
158-
| `system.disk.io` | counter | bytes | Disk I/O (Linux only) |
159-
| `system.disk.operations` | counter | operations | Disk operations (Linux only) |
160-
| `system.filesystem.usage` | gauge | bytes | Filesystem usage (Linux only) |
161-
| `system.filesystem.utilization` | gauge | ratio | Filesystem utilization (Linux only) |
162155
| `nodejs.event_loop.utilization` | gauge | ratio | Event loop utilization (0-1) |
163156
| `nodejs.event_loop.delay.p95` | gauge | seconds | Event loop delay p95 |
164157
| `nodejs.event_loop.delay.max` | gauge | seconds | Event loop delay max |
165158
| `nodejs.heap.used` | gauge | bytes | V8 heap used |
166159
| `nodejs.heap.total` | gauge | bytes | V8 heap total |
167160

168161
<Note>
169-
In dev mode (`trigger dev`), `system.*` metrics are not collected to reduce noise. Only `process.*`, `nodejs.*`, and custom metrics are available during development.
162+
In dev mode (`trigger dev`), only `process.*` and custom metrics are available.
170163
</Note>
171164

172165
### Context attributes

0 commit comments

Comments
 (0)