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 84ef980 commit 146edfaCopy full SHA for 146edfa
plugins/node/instrumentation-runtime-node/src/instrumentation.ts
@@ -30,8 +30,12 @@ export class RuntimeNodeInstrumentation extends InstrumentationBase {
30
private _ELUs: EventLoopUtilization[] = [];
31
private _interval: NodeJS.Timeout | undefined;
32
33
- constructor(config: RuntimeNodeInstrumentationConfig = DEFAULT_CONFIG) {
34
- super('@opentelemetry/instrumentation-runtime-node', VERSION, config);
+ constructor(config: RuntimeNodeInstrumentationConfig = {}) {
+ super(
35
+ '@opentelemetry/instrumentation-runtime-node',
36
+ VERSION,
37
+ Object.assign({}, DEFAULT_CONFIG, config)
38
+ );
39
}
40
41
private _addELU() {
0 commit comments