We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4763d9 commit 8398e8fCopy full SHA for 8398e8f
packages/instrumentation-runtime-node/src/metrics/eventLoopUtilizationCollector.ts
@@ -22,7 +22,7 @@ import { METRIC_NODEJS_EVENTLOOP_UTILIZATION } from '../semconv';
22
const { eventLoopUtilization: eventLoopUtilizationCollector } = performance;
23
24
export class EventLoopUtilizationCollector extends BaseCollector {
25
- // Value needs to be initialized the first time otherwise the first measurement would be incorrectly small
+ // Value needs to be initialized the first time otherwise the first measurement would always be 1
26
// See https://github.com/open-telemetry/opentelemetry-js-contrib/pull/3118#issuecomment-3429737955
27
private _lastValue: EventLoopUtilization = eventLoopUtilizationCollector();
28
0 commit comments