@opentelemetry/resource-detector-alibaba-cloud
Advanced tools
Comparing version 0.25.0 to 0.26.0
@@ -22,3 +22,2 @@ "use strict"; | ||
const http = require("http"); | ||
const semantic_conventions_2 = require("../semantic-conventions"); | ||
/** | ||
@@ -51,4 +50,4 @@ * The AlibabaCloudEcsDetector can be used to detect if a process is running in | ||
return new resources_1.Resource({ | ||
[semantic_conventions_1.SemanticResourceAttributes.CLOUD_PROVIDER]: semantic_conventions_2.CloudProviderValues.ALIBABA_CLOUD, | ||
[semantic_conventions_1.SemanticResourceAttributes.CLOUD_PLATFORM]: semantic_conventions_2.CloudPlatformValues.ALIBABA_CLOUD_ECS, | ||
[semantic_conventions_1.SemanticResourceAttributes.CLOUD_PROVIDER]: semantic_conventions_1.CloudProviderValues.ALIBABA_CLOUD, | ||
[semantic_conventions_1.SemanticResourceAttributes.CLOUD_PLATFORM]: semantic_conventions_1.CloudPlatformValues.ALIBABA_CLOUD_ECS, | ||
[semantic_conventions_1.SemanticResourceAttributes.CLOUD_ACCOUNT_ID]: accountId, | ||
@@ -55,0 +54,0 @@ [semantic_conventions_1.SemanticResourceAttributes.CLOUD_REGION]: region, |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.25.0"; | ||
export declare const VERSION = "0.26.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.25.0'; | ||
exports.VERSION = '0.26.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/resource-detector-alibaba-cloud", | ||
"version": "0.25.0", | ||
"version": "0.26.0", | ||
"description": "OpenTelemetry resource detector for Alibaba Cloud", | ||
@@ -14,3 +14,4 @@ "main": "build/src/index.js", | ||
"lint:fix": "eslint . --ext .ts --fix", | ||
"precompile": "tsc --version", | ||
"precompile": "tsc --version && lerna run version --scope @opentelemetry/resource-detector-alibaba-cloud --include-filtered-dependencies", | ||
"prewatch": "npm run precompile", | ||
"prepare": "npm run compile", | ||
@@ -48,3 +49,3 @@ "test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'", | ||
"@opentelemetry/api": "1.0.2", | ||
"@opentelemetry/contrib-test-utils": "^0.25.0", | ||
"@opentelemetry/contrib-test-utils": "^0.27.0", | ||
"@types/mocha": "8.2.3", | ||
@@ -67,6 +68,6 @@ "@types/node": "14.17.9", | ||
"dependencies": { | ||
"@opentelemetry/resources": "^0.25.0", | ||
"@opentelemetry/semantic-conventions": "^0.25.0" | ||
"@opentelemetry/resources": "^1.0.0", | ||
"@opentelemetry/semantic-conventions": "^1.0.0" | ||
}, | ||
"gitHead": "798fb2d5c585f6fdee10146bfe15e03409bdddfe" | ||
"gitHead": "f80834b97bd8e5b1f78923b40fd69d60691c6ff4" | ||
} |
@@ -9,2 +9,4 @@ # OpenTelemetry Resource Detector for Alibaba Cloud | ||
Supports OpenTelemetry JS SDK 1.0 | ||
## Installation | ||
@@ -11,0 +13,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
34
29292
16
229
+ Added@opentelemetry/core@1.27.0(transitive)
+ Added@opentelemetry/resources@1.27.0(transitive)
+ Added@opentelemetry/semantic-conventions@1.27.0(transitive)
- Removed@opentelemetry/core@0.25.0(transitive)
- Removed@opentelemetry/resources@0.25.0(transitive)
- Removed@opentelemetry/semantic-conventions@0.25.0(transitive)
- Removedsemver@7.6.3(transitive)