README
OpenCensus Web Core (Trace Model)
For overview and usage info see the main OpenCensus Web readme.
This package contains the core trace model used by OpenCensus Web. This trace model is based on the same TypeScript interfaces that OpenCensus Node uses.
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 data. See the OpenCensus Web readme for details.
In the future we would like to make it easy to generate custom spans that will be conveniently exported to the OpenCensus Agent. This package has the API that will support generation of custom spans. Although it's not fully wired up and supported yet, you're welcome to poke around the source code and try to use it!
Useful links
- For more information on OpenCensus, visit: https://opencensus.io/
- For more about OpenCensus Web: https://github.com/census-instrumentation/opencensus-web
- For help or feedback on this project, join us on gitter
License
Apache 2.0 - See LICENSE for more information.