Skip to content

Commit

Permalink
fix(instrumentation): drop diag.debug on InstrumentationBase#init not…
Browse files Browse the repository at this point in the history
… returning any modules

Closes: #2237
Refs: #3308
  • Loading branch information
trentm committed Aug 15, 2024
1 parent f047db9 commit 91fccf1
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@ export abstract class InstrumentationBase<

this._modules = (modules as InstrumentationModuleDefinition[]) || [];

if (this._modules.length === 0) {
diag.debug(
'No modules instrumentation has been defined for ' +
`'${this.instrumentationName}@${this.instrumentationVersion}'` +
', nothing will be patched'
);
}

if (this._config.enabled) {
this.enable();
}
Expand Down

0 comments on commit 91fccf1

Please sign in to comment.