@opentelemetry/resource-detector-azure
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -36,4 +36,4 @@ "use strict"; | ||
const functionName = process.env[types_1.WEBSITE_SITE_NAME]; | ||
if (functionName) { | ||
const functionVersion = process.env[types_1.FUNCTIONS_VERSION]; | ||
const functionVersion = process.env[types_1.FUNCTIONS_VERSION]; | ||
if (functionName && functionVersion) { | ||
const functionInstance = process.env[types_1.WEBSITE_INSTANCE_ID]; | ||
@@ -40,0 +40,0 @@ const functionMemLimit = process.env[types_1.FUNCTIONS_MEM_LIMIT]; |
{ | ||
"name": "@opentelemetry/resource-detector-azure", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "OpenTelemetry SDK resource detector for Azure", | ||
@@ -51,3 +51,3 @@ "main": "build/src/index.js", | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/detectors/node/opentelemetry-resource-detector-azure#readme", | ||
"gitHead": "a757b5e443dfe1dade090aeb11ec37d0e802f8af" | ||
"gitHead": "c7e7000b7bf79b0b107c448b403c2613a9b9e2c1" | ||
} |
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
68831