Instana (Tracing)
Introduction
Instanta provides AI Powered Application and Infrastructure Monitoring, allowing you to deliver Faster With Confidence, and automatic Analysis and Optimization.
OpenCensus Node.js has support for this exporter available, distributed through NPM package @opencensus/exporter-instana
More information can be found at the Instana website
Installing the exporter
You can install OpenCensus Instana Exporter by running these steps:
npm install @opencensus/nodejs
npm install @opencensus/exporter-instana
To use Instana as your exporter, first ensure that you have an Instana agent running on your system and reporting to your environment. The Instana OpenCensus exporter directly communicates with the Instana agent in order to transmit data to Instana.
Creating the exporter
Now let’s use the Instana exporter:
const tracing = require('@opencensus/nodejs');
const { InstanaTraceExporter }= require('@opencensus/exporter-instana');
const exporter = new InstanaTraceExporter();
tracing.registerExporter(exporter).start();