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

@opentelemetry/web

Package Overview
Dependencies
Maintainers
2
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

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
609
decreased by-53.19%
Maintainers
2
Weekly downloads
 
Created
Source

OpenTelemetry Web

Gitter chat 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 08 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