@opentelemetry/instrumentation-http
Advanced tools
Comparing version 0.17.0 to 0.17.1-alpha.2
@@ -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); |
{ | ||
"name": "@opentelemetry/instrumentation-http", | ||
"version": "0.17.0", | ||
"version": "0.17.1-alpha.2+38d1ee25", | ||
"description": "OpenTelemetry http/https automatic instrumentation package.", | ||
@@ -46,5 +46,5 @@ "main": "build/src/index.js", | ||
"@opentelemetry/context-base": "^0.17.0", | ||
"@opentelemetry/core": "^0.17.0", | ||
"@opentelemetry/node": "^0.17.0", | ||
"@opentelemetry/tracing": "^0.17.0", | ||
"@opentelemetry/core": "^0.17.1-alpha.2+38d1ee25", | ||
"@opentelemetry/node": "^0.17.1-alpha.2+38d1ee25", | ||
"@opentelemetry/tracing": "^0.17.1-alpha.2+38d1ee25", | ||
"@types/got": "9.6.11", | ||
@@ -79,3 +79,3 @@ "@types/mocha": "8.2.0", | ||
}, | ||
"gitHead": "a91ea7617f288af632934334d0c8ecece318ce73" | ||
"gitHead": "38d1ee2552bbdda0a151734ba0d50ee7448e68e1" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
92218
1