@cisco-telescope/cisco-sdk-node
v2.6.1
Published
Cisco Distribution for OpenTelemetry
Downloads
5
Readme
Cisco SDK Node
This package provides OpenTelemetry-compliant tracing to Javascript applications for the collection of distributed tracing and performance metrics in Cisco Telescope.
Installation
npm install --save @cisco-telescope/cisco-sdk-node
Usage
// tracing.js
const { ciscoTracing } = require('@cisco-telescope/cisco-sdk-node');
const userOptions = {
serviceName: 'my-app-name',
ciscoToken: 'cisco-token',
};
ciscoTracing.init(userOptions); // init() is an asynchronous function. Consider calling it in 'async-await' format
License
APACHE 2.0 - See LICENSE for more information.