mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-09 17:29:12 +00:00
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:
parent
ee385456d0
commit
ebd25a4a55
1 changed files with 1 additions and 1 deletions
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue