@opentelemetry/resource-detector-aws
Advanced tools
Comparing version 1.4.2 to 1.5.0
@@ -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 |
{ | ||
"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
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
111259
27
910
131