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

@opentelemetry/semantic-conventions

Package Overview
Dependencies
Maintainers
4
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/semantic-conventions - npm Package Compare versions

Comparing version 0.24.1-alpha.31 to 0.25.1-alpha.21

2

build/esm/version.d.ts

@@ -1,2 +0,2 @@

export declare const VERSION = "0.24.0";
export declare const VERSION = "0.25.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export var VERSION = '0.24.0';
export var VERSION = '0.25.0';
//# sourceMappingURL=version.js.map

@@ -1,2 +0,2 @@

export declare const VERSION = "0.24.0";
export declare const VERSION = "0.25.0";
//# sourceMappingURL=version.d.ts.map

@@ -20,3 +20,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.24.0';
exports.VERSION = '0.25.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/semantic-conventions",
"version": "0.24.1-alpha.31+fd2410cc",
"version": "0.25.1-alpha.21+0ef1fc28",
"description": "OpenTelemetry semantic conventions",

@@ -47,3 +47,3 @@ "main": "build/src/index.js",

"@types/mocha": "8.2.3",
"@types/node": "14.17.5",
"@types/node": "14.17.9",
"@types/sinon": "10.0.2",

@@ -59,3 +59,3 @@ "codecov": "3.8.3",

},
"gitHead": "fd2410cc9e8d43210b6ea44b8193fa70ee900499"
"gitHead": "0ef1fc28d366b74d98b73b5d6334ffdc75342fe2"
}

@@ -19,7 +19,7 @@ # OpenTelemetry Semantic Conventions

```ts
import { GeneralAttribute } from '@opentelemetry/semantic-conventions';
import { SemanticAttributes } from '@opentelemetry/semantic-conventions';
const span = tracer.startSpan().startSpan(spanName, spanOptions)
.setAttributes({
[GeneralAttribute.NET_PEER_HOSTNAME]: 'localhost',
[SemanticAttributes.NET_PEER_NAME]: 'localhost',
});

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