epsagon-web v1.2.0
Epsagon Tracing for Web
This package provides tracing to front end of web applications for the collection of distributed tracing and performance metrics in Epsagon.
Contents
Installation
To install Epsagon, simply run:
npm install epsagon-web
Usage
Auto-tracing
To get started, install epsagon-web
:
npm install epsagon-web
Calling the SDK
To initialize the tracer, import the sdk and call the init function before the start of your project.
const Epsagon = require('epsagon-web')
Epsagon.init({
app_name: 'app name',
token: 'token string',
})
Configuration
Advanced options can be configured as a parameter to the init() method.
Parameter | Type | Default | Description |
---|---|---|---|
token | String | - | Epsagon account token |
app_name | String | epsagon trace | Application name that will be set for traces |
metadataOnly | Boolean | true | Whether to send only the metadata (true ) or also the payloads (false ) |
Getting Help
If you have any issue around using the library or the product, please don't hesitate to:
- Use the documentation.
- Use the help widget inside the product.
- Open an issue in GitHub.
Opening Issues
If you encounter a bug with the Epsagon library for Node.js, we want to hear about it.
When opening a new issue, please provide as much information about the environment:
- Library version, Node.js runtime version, dependencies, etc.
- Snippet of the usage.
- A reproducible example can really help.
The GitHub issues are intended for bug reports and feature requests. For help and questions about Epsagon, use the help widget inside the product.
License
Provided under the MIT license. See LICENSE for details.
Copyright 2020, Epsagon
License
MIT © DanielGorlo
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago