@opentelemetry/instrumentation-ioredis
Advanced tools
Comparing version 0.39.0 to 0.40.0
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; | ||
import { IORedisInstrumentationConfig } from './types'; | ||
export declare class IORedisInstrumentation extends InstrumentationBase<any> { | ||
export declare class IORedisInstrumentation extends InstrumentationBase { | ||
constructor(_config?: IORedisInstrumentationConfig); | ||
init(): InstrumentationNodeModuleDefinition<any>[]; | ||
init(): InstrumentationNodeModuleDefinition[]; | ||
/** | ||
@@ -7,0 +7,0 @@ * Patch send command internal to trace requests |
@@ -39,3 +39,2 @@ "use strict"; | ||
: module; // CommonJS | ||
api_1.diag.debug('Applying patch for ioredis'); | ||
if ((0, instrumentation_1.isWrapped)(moduleExports.prototype.sendCommand)) { | ||
@@ -56,3 +55,2 @@ this._unwrap(moduleExports.prototype, 'sendCommand'); | ||
: module; // CommonJS | ||
api_1.diag.debug('Removing patch for ioredis'); | ||
this._unwrap(moduleExports.prototype, 'sendCommand'); | ||
@@ -59,0 +57,0 @@ this._unwrap(moduleExports.prototype, 'connect'); |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.39.0"; | ||
export declare const VERSION = "0.40.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.39.0'; | ||
exports.VERSION = '0.40.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-ioredis", | ||
"version": "0.39.0", | ||
"version": "0.40.0", | ||
"description": "OpenTelemetry ioredis automatic instrumentation package.", | ||
@@ -52,5 +52,6 @@ "main": "build/src/index.js", | ||
"@opentelemetry/context-async-hooks": "^1.8.0", | ||
"@opentelemetry/contrib-test-utils": "^0.38.0", | ||
"@opentelemetry/contrib-test-utils": "^0.39.0", | ||
"@opentelemetry/sdk-trace-base": "^1.8.0", | ||
"@opentelemetry/sdk-trace-node": "^1.8.0", | ||
"@types/ioredis4": "npm:@types/ioredis@4.28.10", | ||
"@types/mocha": "7.0.2", | ||
@@ -70,9 +71,8 @@ "@types/node": "18.6.5", | ||
"dependencies": { | ||
"@opentelemetry/instrumentation": "^0.50.0", | ||
"@opentelemetry/redis-common": "^0.36.1", | ||
"@opentelemetry/semantic-conventions": "^1.0.0", | ||
"@types/ioredis4": "npm:@types/ioredis@^4.28.10" | ||
"@opentelemetry/instrumentation": "^0.51.0", | ||
"@opentelemetry/redis-common": "^0.36.2", | ||
"@opentelemetry/semantic-conventions": "^1.0.0" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-ioredis#readme", | ||
"gitHead": "17a0bc1da3baa472ba9b867eee3c60730cc130fb" | ||
"gitHead": "96a87b48934f0afcf1fe637eed6704f35bd8e973" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4
55336
18
342
+ Added@opentelemetry/api-logs@0.51.1(transitive)
+ Added@opentelemetry/instrumentation@0.51.1(transitive)
+ Addedacorn-import-attributes@1.9.5(transitive)
+ Addedimport-in-the-middle@1.7.4(transitive)
- Removed@opentelemetry/api-logs@0.50.0(transitive)
- Removed@opentelemetry/instrumentation@0.50.0(transitive)
- Removed@types/ioredis@4.28.10(transitive)
- Removed@types/node@22.9.0(transitive)
- Removedacorn-import-assertions@1.9.0(transitive)
- Removedimport-in-the-middle@1.7.1(transitive)
- Removedundici-types@6.19.8(transitive)