Socket
Socket
Sign inDemoInstall

@opentelemetry/resources

Package Overview
Dependencies
Maintainers
5
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/resources - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

4

build/src/platform/node/detectors/AwsEc2Detector.js

@@ -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"
}
}
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