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

@opentelemetry/resource-detector-aws

Package Overview
Dependencies
Maintainers
3
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.4.2 to 1.5.0

build/src/detectors/SemanticResourceAttributes.d.ts

3

build/src/detectors/AwsEcsDetector.js

@@ -22,2 +22,4 @@ "use strict";

const semantic_conventions_1 = require("@opentelemetry/semantic-conventions");
// Patch until the OpenTelemetry SDK is updated to ship this attribute
const SemanticResourceAttributes_1 = require("./SemanticResourceAttributes");
const http = require("http");

@@ -110,2 +112,3 @@ const util = require("util");

[semantic_conventions_1.SEMRESATTRS_CLOUD_REGION]: region,
[SemanticResourceAttributes_1.SemanticResourceAttributes.CLOUD_RESOURCE_ID]: containerArn,
};

@@ -112,0 +115,0 @@ // The availability zone is not available in all Fargate runtimes

4

package.json
{
"name": "@opentelemetry/resource-detector-aws",
"version": "1.4.2",
"version": "1.5.0",
"description": "OpenTelemetry SDK resource detector for AWS",

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

"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/detectors/node/opentelemetry-resource-detector-aws#readme",
"gitHead": "96a87b48934f0afcf1fe637eed6704f35bd8e973"
"gitHead": "54365a9aafaca6555e13f1276945d6f869d103da"
}

@@ -87,3 +87,4 @@ # OpenTelemetry Resource Detector for AWS

| cloud.region | Parsed value from the `TaskARN` |
| container.id | Value of from file `/proc/self/cgroup` |
| cloud.resource_id | Value of `ContainerARN` from `ECS_CONTAINER_METADATA_URI_V4/task` request |
| container.id | Value from file `/proc/self/cgroup` |
| container.name | The hostname of the operating system |

@@ -90,0 +91,0 @@

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