Socket
Socket
Sign inDemoInstall

@opencensus/web-propagation-tracecontext

Package Overview
Dependencies
1
Maintainers
7
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencensus/web-propagation-tracecontext


Version published
Weekly downloads
8
increased by700%
Maintainers
7
Created
Weekly downloads
 

Changelog

Source

0.0.7 - 2019-09-09

  • Support for B3 propagation with new @opencensus/web-propagation-b3 package and the ability to pass it in via startTracing({ propagation: Propagation }). Thanks @edvinasbartkus!

Readme

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 and trace on-page user interactions with a series of features like automatic tracing for clicks and route transitions, custom spans, and browser [Performance API][performance-api] data. 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.

This is also used to propagate trace contextspans for XHRs in the user interactions, serializing a traceparent header to send along to XHR calls.

License

Apache 2.0 - See LICENSE for more information.

Keywords

FAQs

Last updated on 10 Sep 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc