@opentelemetry/instrumentation-redis-4
Advanced tools
Comparing version 0.39.0 to 0.40.0
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; | ||
import { RedisInstrumentationConfig } from './types'; | ||
export declare class RedisInstrumentation extends InstrumentationBase { | ||
static readonly COMPONENT = "redis"; | ||
protected _config: RedisInstrumentationConfig; | ||
static readonly COMPONENT = "redis"; | ||
constructor(_config?: RedisInstrumentationConfig); | ||
constructor(config?: RedisInstrumentationConfig); | ||
setConfig(config?: RedisInstrumentationConfig): void; | ||
@@ -8,0 +8,0 @@ protected init(): InstrumentationNodeModuleDefinition[]; |
@@ -31,5 +31,4 @@ "use strict"; | ||
class RedisInstrumentation extends instrumentation_1.InstrumentationBase { | ||
constructor(_config = {}) { | ||
super('@opentelemetry/instrumentation-redis-4', version_1.VERSION, _config); | ||
this._config = _config; | ||
constructor(config = {}) { | ||
super(version_1.PACKAGE_NAME, version_1.PACKAGE_VERSION, config); | ||
} | ||
@@ -36,0 +35,0 @@ setConfig(config = {}) { |
@@ -1,2 +0,3 @@ | ||
export declare const VERSION = "0.39.0"; | ||
export declare const PACKAGE_VERSION = "0.40.0"; | ||
export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-redis-4"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -18,5 +18,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.PACKAGE_NAME = exports.PACKAGE_VERSION = void 0; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.39.0'; | ||
exports.PACKAGE_VERSION = '0.40.0'; | ||
exports.PACKAGE_NAME = '@opentelemetry/instrumentation-redis-4'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-redis-4", | ||
"version": "0.39.0", | ||
"description": "Automatic OpenTelemetry instrumentation for redis package version 4", | ||
"version": "0.40.0", | ||
"description": "OpenTelemetry instrumentation for `redis` v4 database client for Redis", | ||
"main": "build/src/index.js", | ||
@@ -53,3 +53,3 @@ "types": "build/src/index.d.ts", | ||
"@opentelemetry/context-async-hooks": "^1.8.0", | ||
"@opentelemetry/contrib-test-utils": "^0.39.0", | ||
"@opentelemetry/contrib-test-utils": "^0.40.0", | ||
"@opentelemetry/core": "^1.8.0", | ||
@@ -70,3 +70,3 @@ "@opentelemetry/sdk-trace-base": "^1.8.0", | ||
"dependencies": { | ||
"@opentelemetry/instrumentation": "^0.51.0", | ||
"@opentelemetry/instrumentation": "^0.52.0", | ||
"@opentelemetry/redis-common": "^0.36.2", | ||
@@ -76,3 +76,3 @@ "@opentelemetry/semantic-conventions": "^1.22.0" | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-redis-4#readme", | ||
"gitHead": "96a87b48934f0afcf1fe637eed6704f35bd8e973" | ||
"gitHead": "0af1b70f7c3c9763c85ac51fa5e334c1e1512020" | ||
} |
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
82182
505
+ Added@opentelemetry/api-logs@0.52.1(transitive)
+ Added@opentelemetry/instrumentation@0.52.1(transitive)
+ Addedimport-in-the-middle@1.11.2(transitive)
- Removed@opentelemetry/api-logs@0.51.1(transitive)
- Removed@opentelemetry/instrumentation@0.51.1(transitive)
- Removedimport-in-the-middle@1.7.4(transitive)