Socket
Socket
Sign inDemoInstall

@opentelemetry/resource-detector-gcp

Package Overview
Dependencies
Maintainers
2
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.27.4 to 0.27.5

4

build/src/detectors/GcpDetector.js

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

semantic_conventions_1.CloudProviderValues.GCP;
if (core_1.getEnv().KUBERNETES_SERVICE_HOST)
if ((0, core_1.getEnv)().KUBERNETES_SERVICE_HOST)
this._addK8sAttributes(attributes, clusterName);

@@ -64,3 +64,3 @@ return new resources_1.Resource(attributes);

_addK8sAttributes(attributes, clusterName) {
const env = core_1.getEnv();
const env = (0, core_1.getEnv)();
attributes[semantic_conventions_1.SemanticResourceAttributes.K8S_CLUSTER_NAME] = clusterName;

@@ -67,0 +67,0 @@ attributes[semantic_conventions_1.SemanticResourceAttributes.K8S_NAMESPACE_NAME] = env.NAMESPACE;

{
"name": "@opentelemetry/resource-detector-gcp",
"version": "0.27.4",
"version": "0.27.5",
"description": "OpenTelemetry SDK resource detector for GCP",

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

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

@@ -56,3 +56,3 @@ "@types/node": "18.11.7",

"ts-mocha": "10.0.0",
"typescript": "4.3.5"
"typescript": "4.4.4"
},

@@ -70,3 +70,3 @@ "peerDependencies": {

"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/detectors/node/opentelemetry-resource-detector-gcp#readme",
"gitHead": "59fa57cfd0dff4ae0e6f3833dff73c55dfd79ee5"
"gitHead": "63e0fc9b6b862f74304abf0343c506a5bd415191"
}

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