2.6.1 • Published 2 years ago

@cisco-telescope/cisco-sdk-node v2.6.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Cisco SDK Node

NPM Published Version Apache License

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.