Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/instrumentation-redis

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-redis - npm Package Compare versions

Comparing version 0.41.0 to 0.42.0

3

build/src/instrumentation.d.ts
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
import { RedisInstrumentationConfig } from './types';
export declare class RedisInstrumentation extends InstrumentationBase {
export declare class RedisInstrumentation extends InstrumentationBase<RedisInstrumentationConfig> {
static readonly COMPONENT = "redis";
protected _config: RedisInstrumentationConfig;
constructor(config?: RedisInstrumentationConfig);

@@ -7,0 +6,0 @@ setConfig(config?: RedisInstrumentationConfig): void;

@@ -27,6 +27,6 @@ "use strict";

constructor(config = {}) {
super(version_1.PACKAGE_NAME, version_1.PACKAGE_VERSION, config);
super(version_1.PACKAGE_NAME, version_1.PACKAGE_VERSION, Object.assign(Object.assign({}, DEFAULT_CONFIG), config));
}
setConfig(config = {}) {
this._config = Object.assign({}, DEFAULT_CONFIG, config);
super.setConfig(Object.assign(Object.assign({}, DEFAULT_CONFIG), config));
}

@@ -63,3 +63,3 @@ init() {

const tracer = this.tracer;
const config = this._config;
const config = this.getConfig();
return function internal_send_command(original) {

@@ -66,0 +66,0 @@ return (0, utils_1.getTracedInternalSendCommand)(tracer, original, config);

@@ -1,3 +0,3 @@

export declare const PACKAGE_VERSION = "0.41.0";
export declare const PACKAGE_VERSION = "0.42.0";
export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-redis";
//# sourceMappingURL=version.d.ts.map

@@ -20,4 +20,4 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.PACKAGE_VERSION = '0.41.0';
exports.PACKAGE_VERSION = '0.42.0';
exports.PACKAGE_NAME = '@opentelemetry/instrumentation-redis';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-redis",
"version": "0.41.0",
"version": "0.42.0",
"description": "OpenTelemetry instrumentation for `redis` v2 and v3 database client for Redis",

@@ -54,3 +54,3 @@ "main": "build/src/index.js",

"@opentelemetry/context-async-hooks": "^1.8.0",
"@opentelemetry/contrib-test-utils": "^0.40.0",
"@opentelemetry/contrib-test-utils": "^0.41.0",
"@opentelemetry/sdk-trace-base": "^1.8.0",

@@ -65,3 +65,3 @@ "@opentelemetry/sdk-trace-node": "^1.8.0",

"redis": "3.1.2",
"rimraf": "5.0.5",
"rimraf": "5.0.10",
"test-all-versions": "6.1.0",

@@ -72,8 +72,8 @@ "ts-mocha": "10.0.0",

"dependencies": {
"@opentelemetry/instrumentation": "^0.52.0",
"@opentelemetry/instrumentation": "^0.53.0",
"@opentelemetry/redis-common": "^0.36.2",
"@opentelemetry/semantic-conventions": "^1.22.0"
"@opentelemetry/semantic-conventions": "^1.27.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-redis#readme",
"gitHead": "ad8436d6a4174f2288cb939080cd4e74da94b0d7"
"gitHead": "9dc58afed8134f95908331bcff35c5d9ec46fe9a"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc