Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation-net

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-net - npm Package Compare versions

Comparing version 0.16.0 to 0.20.0

build/src/instrumentation.d.ts

2

build/src/index.d.ts

@@ -1,2 +0,2 @@

export * from './net';
export * from './instrumentation';
//# sourceMappingURL=index.d.ts.map

@@ -28,3 +28,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./net"), exports);
__exportStar(require("./instrumentation"), exports);
//# sourceMappingURL=index.js.map

@@ -12,4 +12,16 @@ /// <reference types="node" />

CONNECT = "connect",
ERROR = "error"
ERROR = "error",
SECURE_CONNECT = "secureConnect"
}
export declare enum TLSAttributes {
PROTOCOL = "tls.protocol",
AUTHORIZED = "tls.authorized",
CIPHER_NAME = "tls.cipher.name",
CIPHER_VERSION = "tls.cipher.version",
CERTIFICATE_FINGERPRINT = "tls.certificate.fingerprint",
CERTIFICATE_SERIAL_NUMBER = "tls.certificate.serialNumber",
CERTIFICATE_VALID_FROM = "tls.certificate.validFrom",
CERTIFICATE_VALID_TO = "tls.certificate.validTo",
ALPN_PROTOCOL = "tls.alpnProtocol"
}
//# sourceMappingURL=types.d.ts.map

@@ -18,3 +18,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.SocketEvent = void 0;
exports.TLSAttributes = exports.SocketEvent = void 0;
var SocketEvent;

@@ -25,3 +25,17 @@ (function (SocketEvent) {

SocketEvent["ERROR"] = "error";
SocketEvent["SECURE_CONNECT"] = "secureConnect";
})(SocketEvent = exports.SocketEvent || (exports.SocketEvent = {}));
/* The following attributes are not offical, see open-telemetry/opentelemetry-specification#1652 */
var TLSAttributes;
(function (TLSAttributes) {
TLSAttributes["PROTOCOL"] = "tls.protocol";
TLSAttributes["AUTHORIZED"] = "tls.authorized";
TLSAttributes["CIPHER_NAME"] = "tls.cipher.name";
TLSAttributes["CIPHER_VERSION"] = "tls.cipher.version";
TLSAttributes["CERTIFICATE_FINGERPRINT"] = "tls.certificate.fingerprint";
TLSAttributes["CERTIFICATE_SERIAL_NUMBER"] = "tls.certificate.serialNumber";
TLSAttributes["CERTIFICATE_VALID_FROM"] = "tls.certificate.validFrom";
TLSAttributes["CERTIFICATE_VALID_TO"] = "tls.certificate.validTo";
TLSAttributes["ALPN_PROTOCOL"] = "tls.alpnProtocol";
})(TLSAttributes = exports.TLSAttributes || (exports.TLSAttributes = {}));
//# sourceMappingURL=types.js.map

@@ -1,2 +0,2 @@

export declare const VERSION = "0.16.0";
export declare const VERSION = "0.20.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.16.0';
exports.VERSION = '0.20.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-net",
"version": "0.16.0",
"version": "0.20.0",
"description": "OpenTelemetry net module automatic instrumentation package.",

@@ -45,8 +45,8 @@ "main": "build/src/index.js",

"devDependencies": {
"@opentelemetry/node": "0.19.0",
"@opentelemetry/tracing": "0.19.0",
"@opentelemetry/node": "0.20.0",
"@opentelemetry/tracing": "0.20.0",
"@types/mocha": "7.0.2",
"@types/node": "14.0.27",
"@types/sinon": "9.0.4",
"codecov": "3.7.2",
"@types/node": "14.17.2",
"@types/sinon": "9.0.11",
"codecov": "3.8.2",
"gts": "3.1.0",

@@ -58,12 +58,10 @@ "mocha": "7.2.0",

"ts-mocha": "8.0.0",
"tslint-consistent-codestyle": "1.16.0",
"tslint-microsoft-contrib": "6.2.0",
"typescript": "4.1.3"
"typescript": "4.3.2"
},
"dependencies": {
"@opentelemetry/api": "^1.0.0-rc.0",
"@opentelemetry/instrumentation": "^0.19.0",
"@opentelemetry/semantic-conventions": "^0.19.0"
"@opentelemetry/api": "^0.20.0",
"@opentelemetry/instrumentation": "^0.20.0",
"@opentelemetry/semantic-conventions": "^0.20.0"
},
"gitHead": "5ecccc916e8f4eecaf6629a0350fc672edcba1be"
"gitHead": "5d73dc2d11a8fd57b21a0c6286861cb992556ca1"
}

@@ -32,3 +32,2 @@ # OpenTelemetry Net module Instrumentation for Node.js

],
tracerProvider: provider,
});

@@ -43,2 +42,3 @@ ```

For TCP:
* `net.peer.ip`

@@ -51,5 +51,5 @@ * `net.peer.port`

- For more information on OpenTelemetry, visit: <https://opentelemetry.io/>
- For more about OpenTelemetry JavaScript: <https://github.com/open-telemetry/opentelemetry-js>
- For help or feedback on this project, join us in [GitHub Discussions][discussions-url]
* For more information on OpenTelemetry, visit: <https://opentelemetry.io/>
* For more about OpenTelemetry JavaScript: <https://github.com/open-telemetry/opentelemetry-js>
* For help or feedback on this project, join us in [GitHub Discussions][discussions-url]

@@ -56,0 +56,0 @@ ## License

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