Skip to content

system traces: first utilization reading after restart spans the stopped period #59

Closed

Description

@krassx

After a client stop/start, the first event-loop-utilization delta is computed against the pre-stop baseline, so it spans the whole stopped period and understates utilization.

Fix: reset the ELU baseline on (re)activation of ProcessStatsTracker. Test-first.

Deferred from PR #55 (trace producers over shared trackers).

🤖 Generated with Claude Code

Activity

  1. added
    bug
    on Oct 15, 2026
  2. krassx commented on Oct 29, 2026

    @krassx
    ContributorAuthor

    Closing: stale. The utilization stage builds a fresh guarded ELU baseline each time it is armed (packages/trackers/src/node/process-tracker.ts), covered by process-tracker.test.ts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions