@opentelemetry/instrumentation-socket.io
Advanced tools
Comparing version 0.40.0 to 0.41.0
@@ -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
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
77296
83