Socket
Socket
Sign inDemoInstall

@opencensus/web-propagation-tracecontext

Package Overview
Dependencies
Maintainers
7
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencensus/web-propagation-tracecontext

OpenCensus Trace Context format propagation for the web browser


Version published
Weekly downloads
10
increased by66.67%
Maintainers
7
Weekly downloads
 
Created
Source

OpenCensus Trace Context format propagation for web browsers

Gitter chat

For overview and usage info see the main OpenCensus Web readme.

OpenCensus Trace Context format propagation provides utilities to serialize and deserialize a trace context header in the W3C Trace Context format.

The library is in alpha stage and the API is subject to change.

Usage

Currently the primary intended usage of OpenCensus Web is to collect spans from the resource timing waterfall of an initial page load. See the OpenCensus Web readme for details.

This package is currently used to deserialize the window.traceparent global variable that the server can send back to the client to indicate the parent trace context for the initial page load.

In the future we would like to support propagating trace contextspans for XHRs, and this library could be used to also serialize a traceparent header to send along to XHR calls.

License

Apache 2.0 - See LICENSE for more information.

Keywords

FAQs

Package last updated on 29 Apr 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