@opentelemetry/instrumentation-generic-pool
OpenTelemetry instrumentation for `generic-pool` resource pool for managing expensive resources
Last updated 16 days ago by GitHub Actions .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @opentelemetry/instrumentation-generic-pool 
SYNC missed versions from official npm registry.

OpenTelemetry Generic Pool Instrumentation for Node.js

NPM Published Version Apache License

This module provides automatic instrumentation for the generic-pool module, creating a span for every acquire call, which may be loaded using the @opentelemetry/sdk-trace-node package and is included in the @opentelemetry/auto-instrumentations-node bundle.

If total installation size is not constrained, it is recommended to use the @opentelemetry/auto-instrumentations-node bundle with @opentelemetry/sdk-node for the most seamless instrumentation experience.

Compatible with OpenTelemetry JS API and SDK 1.0+.

Installation

npm install --save @opentelemetry/instrumentation-generic-pool

Supported Versions

Usage

const { ConsoleSpanExporter, SimpleSpanProcessor } = require('@opentelemetry/sdk-trace-base');
const { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');
const { registerInstrumentations } = require('@opentelemetry/instrumentation');
const { GenericPoolInstrumentation } = require('@opentelemetry/instrumentation-generic-pool');

const provider = new NodeTracerProvider({
  spanProcessors: [
    new SimpleSpanProcessor(new ConsoleSpanExporter()),
  ],
});

provider.register();

registerInstrumentations({
  instrumentations: [new GenericPoolInstrumentation()],
  tracerProvider: provider,
});

Semantic Conventions

This package does not currently generate any attributes from semantic conventions.

Useful links

License

Apache 2.0 - See LICENSE for more information.

Current Tags

  • 0.57.0                                ...           latest (16 days ago)

54 Versions

  • 0.57.0                                ...           16 days ago
  • 0.56.0                                ...           a month ago
  • 0.55.0                                ...           2 months ago
  • 0.54.0                                ...           3 months ago
  • 0.53.0                                ...           3 months ago
  • 0.52.0                                ...           5 months ago
  • 0.51.0                                ...           6 months ago
  • 0.50.0                                ...           6 months ago
  • 0.49.2                                ...           6 months ago
  • 0.49.1                                ...           6 months ago
  • 0.49.0                                ...           7 months ago
  • 0.48.0                                ...           7 months ago
  • 0.47.0                                ...           9 months ago
  • 0.46.1                                ...           9 months ago
  • 0.46.0                                ...           10 months ago
  • 0.45.0                                ...           a year ago
  • 0.44.0                                ...           a year ago
  • 0.43.1                                ...           a year ago
  • 0.43.0                                ...           a year ago
  • 0.42.0                                ...           a year ago
  • 0.41.0                                ...           a year ago
  • 0.40.0                                ...           a year ago
  • 0.39.0                                ...           2 years ago
  • 0.38.1                                ...           2 years ago
  • 0.38.0                                ...           2 years ago
  • 0.37.0                                ...           2 years ago
  • 0.36.0                                ...           2 years ago
  • 0.35.0                                ...           2 years ago
  • 0.34.0                                ...           2 years ago
  • 0.33.0                                ...           2 years ago
  • 0.32.5                                ...           2 years ago
  • 0.32.4                                ...           2 years ago
  • 0.32.3                                ...           3 years ago
  • 0.32.2                                ...           3 years ago
  • 0.32.1                                ...           3 years ago
  • 0.32.0                                ...           3 years ago
  • 0.31.4                                ...           3 years ago
  • 0.31.3                                ...           3 years ago
  • 0.31.2                                ...           3 years ago
  • 0.31.1                                ...           3 years ago
  • 0.31.0                                ...           3 years ago
  • 0.30.0                                ...           4 years ago
  • 0.29.0                                ...           4 years ago
  • 0.28.0                                ...           4 years ago
  • 0.27.2                                ...           4 years ago
  • 0.27.1                                ...           4 years ago
  • 0.27.0                                ...           4 years ago
  • 0.26.0                                ...           4 years ago
  • 0.25.0                                ...           5 years ago
  • 0.24.0                                ...           5 years ago
  • 0.23.0                                ...           5 years ago
  • 0.22.0                                ...           5 years ago
  • 0.20.0                                ...           5 years ago
  • 0.21.0                                ...           5 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 51
Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |