0.0.21 • Published 1 year ago

monitara-exporter v0.0.21

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago