diff --git a/experimental/packages/opentelemetry-instrumentation/README.md b/experimental/packages/opentelemetry-instrumentation/README.md index 39ddaeab9f1..5ff6b11bfac 100644 --- a/experimental/packages/opentelemetry-instrumentation/README.md +++ b/experimental/packages/opentelemetry-instrumentation/README.md @@ -36,7 +36,7 @@ export class MyInstrumentation extends InstrumentationBase { * the plugin should patch multiple modules or versions. */ protected init() { - const module = new InstrumentationNodeModuleDefinition( + const module = new InstrumentationNodeModuleDefinition( 'module_name_to_be_patched', ['1.*'], this._onPatchMain, @@ -63,8 +63,8 @@ export class MyInstrumentation extends InstrumentationBase { this._unwrap(moduleExports, 'mainMethodName'); } - private _addPatchingMethod(): InstrumentationNodeModuleFile { - const file = new InstrumentationNodeModuleFile( + private _addPatchingMethod(): InstrumentationNodeModuleFile { + const file = new InstrumentationNodeModuleFile( 'module_name_to_be_patched/src/some_file.js', this._onPatchMethodName, this._onUnPatchMethodName,