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

@opentelemetry/instrumentation-socket.io

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-socket.io - npm Package Compare versions

Comparing version 0.40.0 to 0.41.0

2

build/src/version.d.ts

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

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

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

// this is autogenerated file, see scripts/version-update.js
exports.PACKAGE_VERSION = '0.40.0';
exports.PACKAGE_VERSION = '0.41.0';
exports.PACKAGE_NAME = '@opentelemetry/instrumentation-socket.io';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-socket.io",
"version": "0.40.0",
"version": "0.41.0",
"description": "OpenTelemetry instrumentation for `socket.io` messaging server implementation for Socket.IO communication",

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

"lint:fix": "eslint . --ext .ts --fix",
"lint:readme": "node ../../../scripts/lint-readme.js",
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/instrumentation-socket.io --include-dependencies",

@@ -66,3 +67,3 @@ "prewatch": "npm run precompile",

"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-socket.io#readme",
"gitHead": "0af1b70f7c3c9763c85ac51fa5e334c1e1512020"
"gitHead": "ad8436d6a4174f2288cb939080cd4e74da94b0d7"
}

@@ -20,3 +20,3 @@ # OpenTelemetry socket.io Instrumentation for Node.js

- `>=2 <5`
- [socket.io](https://www.npmjs.com/package/socket.io) versions `>=2.0.0 <5`

@@ -52,13 +52,6 @@ ## Usage

## Migration From opentelemetry-instrumentation-socket.io
## Filter Http Transport
This instrumentation was originally published and maintained under the name `"opentelemetry-instrumentation-socket.io"` in [this repo](https://github.com/aspecto-io/opentelemetry-ext-js).
If you do not want to trace the socket.io http requests, add the default socket.io route (`/socket.io/`) to the `HttpInstrumentationConfig.ignoreIncomingPaths` array
Few breaking changes were made during porting to the contrib repo:
### filterHttpTransport
The instrumentation's config `filterHttpTransport` option was removed to decouple this instrumentation from the http instrumentation.
if you do not want to trace the socket.io http requests, add the default socket.io route (`/socket.io/`) to the `HttpInstrumentationConfig.ignoreIncomingPaths` array
## Semantic Conventions

@@ -65,0 +58,0 @@

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