chore(telemetry): sample system metrics every 5 minutes (#1472)

Raise SystemMetricsCollector's default sampling interval from 30s to 5min to reduce the frequency of system_metrics telemetry events.
This commit is contained in:
7Sageer 2026-07-07 18:33:24 +08:00 committed by GitHub
parent ee385456d0
commit ebd25a4a55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@ import { cpus, freemem, loadavg, totalmem } from 'node:os';
import type { TelemetryProperties } from './types';
const DEFAULT_INTERVAL_MS = 30_000;
const DEFAULT_INTERVAL_MS = 300_000;
const DEFAULT_WARMUP_SAMPLE_MS = 1_500;
const SYSTEM_METRICS_EVENT = 'system_metrics';