@opentelemetry/resources
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -43,3 +43,3 @@ "use strict"; | ||
try { | ||
const { accountId, instanceId, region, } = await this._awsMetadataAccessor(); | ||
const { accountId, instanceId, instanceType, region, availabilityZone, } = await this._awsMetadataAccessor(); | ||
return new Resource_1.Resource({ | ||
@@ -49,3 +49,5 @@ [constants_1.CLOUD_RESOURCE.PROVIDER]: 'aws', | ||
[constants_1.CLOUD_RESOURCE.REGION]: region, | ||
[constants_1.CLOUD_RESOURCE.ZONE]: availabilityZone, | ||
[constants_1.HOST_RESOURCE.ID]: instanceId, | ||
[constants_1.HOST_RESOURCE.TYPE]: instanceType, | ||
}); | ||
@@ -52,0 +54,0 @@ } |
@@ -16,3 +16,3 @@ /*! | ||
*/ | ||
export declare const VERSION = "0.8.0"; | ||
export declare const VERSION = "0.8.1"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -19,3 +19,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.8.0'; | ||
exports.VERSION = '0.8.1'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/resources", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "OpenTelemetry SDK resources", | ||
@@ -52,3 +52,3 @@ "main": "build/src/index.js", | ||
"gts": "^1.1.0", | ||
"mocha": "^6.2.0", | ||
"mocha": "^7.1.2", | ||
"nock": "^12.0.2", | ||
@@ -58,3 +58,3 @@ "nyc": "^15.0.0", | ||
"sinon": "^7.5.0", | ||
"ts-mocha": "^6.0.0", | ||
"ts-mocha": "^7.0.0", | ||
"ts-node": "^8.6.2", | ||
@@ -66,6 +66,6 @@ "tslint-consistent-codestyle": "^1.16.0", | ||
"dependencies": { | ||
"@opentelemetry/api": "^0.8.0", | ||
"@opentelemetry/core": "^0.8.0", | ||
"@opentelemetry/api": "^0.8.1", | ||
"@opentelemetry/core": "^0.8.1", | ||
"gcp-metadata": "^3.5.0" | ||
} | ||
} |
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
59622
1164
Updated@opentelemetry/api@^0.8.1
Updated@opentelemetry/core@^0.8.1