File tree 2 files changed +1
-10
lines changed
packages/opentelemetry-instrumentation/src
2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ All notable changes to experimental packages in this project will be documented
17
17
* (internal) OTLPExporterBrowserBase: ` RequestType ` has been replaced by a ` ResponseType ` type-argument
18
18
* (internal) OTLPExporterNodeBase: ` ServiceRequest ` has been replaced by a ` ServiceResponse ` type-argument
19
19
* (internal) the ` @opentelemetry/otlp-exporter-proto-base ` package has been removed, and will from now on be deprecated in ` npm `
20
+ * fix(instrumentation)!: remove unused supportedVersions from Instrumentation interface [ #4694 ] ( https://github.com/open-telemetry/opentelemetry-js/pull/4694 ) @blumamir
20
21
21
22
### :rocket : (Enhancement)
22
23
Original file line number Diff line number Diff line change @@ -54,14 +54,6 @@ export interface Instrumentation<
54
54
55
55
/** Method to get instrumentation config */
56
56
getConfig ( ) : ConfigType ;
57
-
58
- /**
59
- * Contains all supported versions.
60
- * All versions must be compatible with [semver](https://semver.org/spec/v2.0.0.html) format.
61
- * If the version is not supported, we won't apply instrumentation patch (see `enable` method).
62
- * If omitted, all versions of the module will be patched.
63
- */
64
- supportedVersions ?: string [ ] ;
65
57
}
66
58
67
59
/**
@@ -102,8 +94,6 @@ export interface InstrumentationModuleFile {
102
94
/** Method to patch the instrumentation */
103
95
patch ( moduleExports : unknown , moduleVersion ?: string ) : unknown ;
104
96
105
- /** Method to patch the instrumentation */
106
-
107
97
/** Method to unpatch the instrumentation */
108
98
unpatch ( moduleExports ?: unknown , moduleVersion ?: string ) : void ;
109
99
}
You can’t perform that action at this time.
0 commit comments