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

@opentelemetry/resources

Package Overview
Dependencies
Maintainers
4
Versions
169
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.22.1-alpha.5 to 0.22.1-alpha.13

16

package.json
{
"name": "@opentelemetry/resources",
"version": "0.22.1-alpha.5+7860344e",
"version": "0.22.1-alpha.13+01418978",
"description": "OpenTelemetry SDK resources",

@@ -51,5 +51,5 @@ "main": "build/src/index.js",

"devDependencies": {
"@opentelemetry/api": "^1.0.0",
"@opentelemetry/api": "^1.0.1",
"@types/mocha": "8.2.2",
"@types/node": "14.14.43",
"@types/node": "14.17.4",
"@types/sinon": "9.0.11",

@@ -64,12 +64,12 @@ "codecov": "3.8.2",

"ts-node": "9.1.1",
"typescript": "4.3.2"
"typescript": "4.3.4"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.0"
"@opentelemetry/api": "^1.0.1"
},
"dependencies": {
"@opentelemetry/core": "^0.22.1-alpha.5+7860344e",
"@opentelemetry/semantic-conventions": "^0.22.1-alpha.5+7860344e"
"@opentelemetry/core": "^0.22.1-alpha.13+01418978",
"@opentelemetry/semantic-conventions": "^0.22.1-alpha.13+01418978"
},
"gitHead": "7860344eca83449170bafd03fd288e1a3deebacf"
"gitHead": "01418978e5cc15b5ec4d5283ec48910799fe2f06"
}

@@ -10,3 +10,3 @@ # OpenTelemetry Resources Util

[This document][resource-semantic_conventions] defines standard attributes for resources.
[This document][resource-semantic_conventions] defines standard attributes for resources which are accessible via [`@opentelemetry/semantic-conventions`](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-semantic-conventions).

@@ -22,5 +22,7 @@ ## Installation

```typescript
import { Resource, SERVICE_RESOURCE } from '@opentelemetry/resources';
import { ResourceAttributes } from '@opentelemetry/semantic-conventions';
import { Resource } from '@opentelemetry/resources';
const resource = new Resource({
[SERVICE_RESOURCE.NAME]: 'api-service',
[ResourceAttributes.SERVICE_NAME]: 'api-service',
});

@@ -27,0 +29,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