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

@opentelemetry/instrumentation-http

Package Overview
Dependencies
Maintainers
4
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-http - npm Package Compare versions

Comparing version 0.17.1-alpha.21 to 0.18.1-alpha.12

4

build/src/http.js

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

request.on('response', (response) => {
const attributes = utils.getOutgoingRequestAttributesOnResponse(response, { hostname });
span.setAttributes(attributes);
const responseAttributes = utils.getOutgoingRequestAttributesOnResponse(response, { hostname });
span.setAttributes(responseAttributes);
if (this._getConfig().responseHook) {

@@ -187,0 +187,0 @@ this._callResponseHook(span, response);

@@ -375,3 +375,6 @@ "use strict";

const getIncomingRequestAttributesOnResponse = (request, response) => {
const { statusCode, statusMessage, socket } = response;
// take socket from the request,
// since it may be detached from the response object in keep-alive mode
const { socket } = request;
const { statusCode, statusMessage } = response;
const { localAddress, localPort, remoteAddress, remotePort } = socket;

@@ -378,0 +381,0 @@ const { __ot_middlewares } = request;

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

export declare const VERSION = "0.17.0";
export declare const VERSION = "0.18.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.17.0';
exports.VERSION = '0.18.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-http",
"version": "0.17.1-alpha.21+a91ea761",
"version": "0.18.1-alpha.12+6540b54a",
"description": "OpenTelemetry http/https automatic instrumentation package.",

@@ -44,7 +44,6 @@ "main": "build/src/index.js",

"devDependencies": {
"@opentelemetry/context-async-hooks": "^0.17.1-alpha.21+a91ea761",
"@opentelemetry/context-base": "^0.17.1-alpha.21+a91ea761",
"@opentelemetry/core": "^0.17.1-alpha.21+a91ea761",
"@opentelemetry/node": "^0.17.1-alpha.21+a91ea761",
"@opentelemetry/tracing": "^0.17.1-alpha.21+a91ea761",
"@opentelemetry/context-async-hooks": "^0.18.1-alpha.12+6540b54a",
"@opentelemetry/core": "^0.18.1-alpha.12+6540b54a",
"@opentelemetry/node": "^0.18.1-alpha.12+6540b54a",
"@opentelemetry/tracing": "^0.18.1-alpha.12+6540b54a",
"@types/got": "9.6.11",

@@ -74,8 +73,8 @@ "@types/mocha": "8.2.0",

"dependencies": {
"@opentelemetry/api": "^0.17.1-alpha.21+a91ea761",
"@opentelemetry/instrumentation": "^0.17.1-alpha.21+a91ea761",
"@opentelemetry/semantic-conventions": "^0.17.1-alpha.21+a91ea761",
"@opentelemetry/api": "^0.18.0",
"@opentelemetry/instrumentation": "^0.18.1-alpha.12+6540b54a",
"@opentelemetry/semantic-conventions": "^0.18.1-alpha.12+6540b54a",
"semver": "^7.1.3"
},
"gitHead": "a91ea7617f288af632934334d0c8ecece318ce73"
"gitHead": "6540b54a8bd49746e164ab730269188237f89b1c"
}

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