@khulnasoft/node-opentelemetry
TypeScript icon, indicating that this package has built-in type declarations

0.2.12 • Public • Published

Node.js Kengine OpenTelemetry SDK

Documentation Latest Release License

Instrument your Node.js applications with OpenTelemetry and send the traces to Kengine.

Getting Started

Check out the documentation.

Example

import { KengineSDK } from '@khulnasoft/node-opentelemetry';
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';


const sdk = new KengineSDK({
  instrumentations: [    
    getNodeAutoInstrumentations(),
  ],
});

sdk.start();

Configuration

The KengineSDK class takes the following configuration options

Field Type Description
instrumentations InstrumentationOption[] An array of instrumentation options.
kengineKey string (optional) The Kengine key.
collectorUrl string (optional) The URL of the collector.
service string (optional) The service name.
namespace string (optional) The namespace.

License

© Kengine Limited, 2023

Distributed under MIT License (The MIT License).

See LICENSE for more information.

Package Sidebar

Install

npm i @khulnasoft/node-opentelemetry

Weekly Downloads

2

Version

0.2.12

License

MIT

Unpacked Size

69.8 kB

Total Files

7

Last publish

Collaborators

  • nextlinux