Socket
Socket
Sign inDemoInstall

@opentelemetry/resource-detector-azure

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/resource-detector-azure - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

3

build/src/detectors/AzureAppServiceDetector.js

@@ -37,3 +37,4 @@ "use strict";

const websiteSiteName = process.env[types_1.WEBSITE_SITE_NAME];
if (websiteSiteName) {
const isAzureFunction = !!process.env[types_1.FUNCTIONS_VERSION];
if (websiteSiteName && !isAzureFunction) {
attributes = Object.assign(Object.assign({}, attributes), { [semantic_conventions_1.SemanticResourceAttributes.SERVICE_NAME]: websiteSiteName });

@@ -40,0 +41,0 @@ attributes = Object.assign(Object.assign({}, attributes), { [semantic_conventions_1.SemanticResourceAttributes.CLOUD_PROVIDER]: semantic_conventions_1.CloudProviderValues.AZURE });

{
"name": "@opentelemetry/resource-detector-azure",
"version": "0.2.2",
"version": "0.2.3",
"description": "OpenTelemetry SDK resource detector for Azure",

@@ -35,3 +35,3 @@ "main": "build/src/index.js",

"@opentelemetry/api": "^1.0.0",
"@opentelemetry/contrib-test-utils": "^0.35.0",
"@opentelemetry/contrib-test-utils": "^0.35.1",
"@types/mocha": "8.2.3",

@@ -52,3 +52,3 @@ "@types/node": "18.6.5",

"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/detectors/node/opentelemetry-resource-detector-azure#readme",
"gitHead": "c7e7000b7bf79b0b107c448b403c2613a9b9e2c1"
"gitHead": "90928231259bbbdf6980f184bc7420503048b77e"
}

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