@opentelemetry/instrumentation
Version:
Base class for node which OpenTelemetry instrumentation modules extend
23 lines • 657 B
JavaScript
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
export class InstrumentationNodeModuleDefinition {
files;
name;
supportedVersions;
patch;
unpatch;
constructor(name, supportedVersions,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
patch,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
unpatch, files) {
this.files = files || [];
this.name = name;
this.supportedVersions = supportedVersions;
this.patch = patch;
this.unpatch = unpatch;
}
}
//# sourceMappingURL=instrumentationNodeModuleDefinition.js.map