0.0.21 • Published 3 years ago

monitara-exporter v0.0.21

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

monitara-exporter is a small, dependency-free library for exports opentelemetry logs to monitara APM .

Installation

$ npm i monitara-exporter

Usage

//make sure you call monitara exporter before any other framework init
import  {MonitaraExporter}  from "monitara-exporter";

const monitaraExporter = new MonitaraExporter({
    apiKey: YOUR_API_KEY,
    node: YOUR_END_POINT_NODE,
});

monitaraExporter.start()

Full Usage

import  {MonitaraExporter}  from "monitara-exporter";
const monitaraExporter = new MonitaraExporter({
    apiKey: YOUR_API_KEY,
    node: YOUR_END_POINT_NODE,
    silent: false,
    queueConcurrent: 1,
    maxBatchSize: 200,
    interval: 2000
});
monitaraExporter.start()

API

new MonitaraExporter(options)

Create a new MonitaraExport instance.

OptionDefaultDescription
apiKey | Monitara open telemetry apiKey
node | Monitara Opentelemetry end point
queueConcurrent1How many tasks should be executed in parallel
maxBatchSize200Max documents size per task
interval2000How often should new tasks be executed (in ms)
silentfalseVerbose mode

Build

$ npm run build
0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago