Socket
Socket
Sign inDemoInstall

@opentelemetry/web

Package Overview
Dependencies
Maintainers
4
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/web

OpenTelemetry Web Tracer


Version published
Weekly downloads
2.1K
decreased by-12.24%
Maintainers
4
Weekly downloads
 
Created
Source

OpenTelemetry Web

Gitter chat NPM Published Version dependencies devDependencies Apache License

This module provides automated instrumentation and tracing for Web applications.

For manual instrumentation see the @opentelemetry/web package.

How does automatic tracing work?

Automatic Instrumentation is in progress, manual instrumentation only supported

Installation

npm install --save @opentelemetry/web

Usage

// Manual
const { WebTracer } = require('@opentelemetry/web');
const webTracer = new WebTracer();
const span = webTracer.startSpan('span1');
webTracer.withSpan(span, function () {
  // this === span
  this.addEvent('start');
});
span.addEvent('middle');
span.end();

License

Apache 2.0 - See LICENSE for more information.

Keywords

FAQs

Package last updated on 15 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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