Commit 75ea38f
committed
fix(webapp): rotate ELU baseline so it reports per-interval, not cumulative
lastEventLoopUtilization was set once at init and never reassigned,
so every performance.eventLoopUtilization(current, last) diff was
computed against the process-start snapshot. The nodejs.event_loop.utilization
gauge was therefore a cumulative average over process lifetime rather
than a per-interval measurement.
Rotate the baseline immediately after computing the diff.1 parent 574733b commit 75ea38f
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
720 | 723 | | |
721 | 724 | | |
722 | 725 | | |
| |||
0 commit comments