Skip to content

Commit 673ddf1

Browse files
remove ide_heartbeat metric since too noisy
Signed-off-by: nkomonen-amazon <[email protected]>
1 parent a71ddac commit 673ddf1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/core/src/shared/crashMonitoring.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -476,15 +476,13 @@ export class FileSystemState {
476476
if (heartbeatData.lastHeartbeat !== now) {
477477
throw new CrashMonitoringError('Heartbeat write validation failed', { code: className })
478478
}
479+
480+
this.deps.devLogger?.debug(`crashMonitoring: HEARTBEAT sent for ${truncateUuid(this.ext.sessionId)}`)
479481
}
480482
const funcWithCtx = () => withFailCtx('sendHeartbeatState', func)
481483
const funcWithRetries = withRetries(funcWithCtx, { maxRetries: 6, delay: 100, backoff: 2 })
482-
const funcWithTelemetryRun = await telemetry.ide_heartbeat.run((span) => {
483-
span.record({ id: className, timestamp: now })
484-
return funcWithRetries
485-
})
486484

487-
return funcWithTelemetryRun
485+
return funcWithRetries
488486
} catch (e) {
489487
await fileHandle?.close()
490488

0 commit comments

Comments
 (0)