Skip to content

opentelemetry-plugin-knex 0.32.0

Install from the command line:
Learn more about npm packages
$ npm install @myrotvorets/opentelemetry-plugin-knex@0.32.0
Install via package.json:
"@myrotvorets/opentelemetry-plugin-knex": "0.32.0"

About this version

opentelemetry-plugin-knex

Quality Gate Status Build and Test

OpenTelemetry knex automatic instrumentation package

Usage

import { NodeSDK } from '@opentelemetry/sdk-node';
import { KnexInstrumentation } from '@myrotvorets/opentelemetry-plugin-knex';
import { HttpInstrumentation } from '@opentelemetry/instrumentation-http';

const sdk = new NodeSDK({
    serviceName: 'example',
    instrumentations: [new HttpInstrumentation(), new KnexInstrumentation()],
});

sdk.start();

See the example directory for a working example.

Details


Assets

  • opentelemetry-plugin-knex-0.32.0.tgz

Download activity

  • Total downloads 4,717
  • Last 30 days 0
  • Last week 0
  • Today 0