@opentelemetry/instrumentation-lru-memoizer
OpenTelemetry instrumentation for `lru-memoizer` function memoization using lru-cache
Last updated 23 days ago by GitHub Actions .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @opentelemetry/instrumentation-lru-memoizer 
SYNC missed versions from official npm registry.

OpenTelemetry lru-memoizer Instrumentation for Node.js

NPM Published Version Apache License

This module provides automatic instrumentation for the lru-memoizer module.

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-lru-memoizer

Supported Versions

Usage

This instrumentation does not produce any telemetry data. It only bind the caller context to callbacks so downstream operations are recorded with the right context (traceId / parentSpanId / baggage / etc). The lru-memoizer package is a dependency for other packages such as jwks-rsa

To enable a specific instrumentation, pass it to registerInstrumentations(). This is commonly done via NodeSDK for fully setting up all OpenTelemetry SDK components:

const { NodeSDK } = require('@opentelemetry/sdk-node');
const { LruMemoizerInstrumentation } = require('@opentelemetry/instrumentation-lru-memoizer');

const sdk = new NodeSDK({
  instrumentations: [
    new LruMemoizerInstrumentation(),
  ],
});
sdk.start();
process.once('beforeExit', async () => { await sdk.shutdown(); });

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.69.0                                ...           latest (23 days ago)

54 Versions

  • 0.69.0                                ...           23 days ago
  • 0.68.0                                ...           a month ago
  • 0.67.0                                ...           2 months ago
  • 0.66.0                                ...           3 months ago
  • 0.65.0                                ...           4 months ago
  • 0.64.0                                ...           5 months ago
  • 0.63.0                                ...           6 months ago
  • 0.62.0                                ...           6 months ago
  • 0.61.0                                ...           7 months ago
  • 0.60.0                                ...           7 months ago
  • 0.59.0                                ...           7 months ago
  • 0.58.0                                ...           8 months ago
  • 0.57.0                                ...           9 months ago
  • 0.56.0                                ...           9 months ago
  • 0.55.0                                ...           10 months ago
  • 0.54.0                                ...           10 months ago
  • 0.53.1                                ...           a year ago
  • 0.53.0                                ...           a year ago
  • 0.52.0                                ...           a year ago
  • 0.51.0                                ...           a year ago
  • 0.50.3                                ...           a year ago
  • 0.50.2                                ...           a year ago
  • 0.50.0                                ...           a year ago
  • 0.49.0                                ...           a year ago
  • 0.48.0                                ...           a year ago
  • 0.47.0                                ...           a year ago
  • 0.46.0                                ...           2 years ago
  • 0.45.0                                ...           2 years ago
  • 0.44.1                                ...           2 years ago
  • 0.44.0                                ...           2 years ago
  • 0.43.0                                ...           2 years ago
  • 0.42.0                                ...           2 years ago
  • 0.41.0                                ...           2 years ago
  • 0.40.0                                ...           2 years ago
  • 0.39.0                                ...           2 years ago
  • 0.38.0                                ...           2 years ago
  • 0.37.0                                ...           3 years ago
  • 0.36.0                                ...           3 years ago
  • 0.35.0                                ...           3 years ago
  • 0.34.0                                ...           3 years ago
  • 0.33.5                                ...           3 years ago
  • 0.33.4                                ...           3 years ago
  • 0.33.3                                ...           3 years ago
  • 0.33.2                                ...           3 years ago
  • 0.33.1                                ...           3 years ago
  • 0.33.0                                ...           3 years ago
  • 0.32.4                                ...           3 years ago
  • 0.32.3                                ...           4 years ago
  • 0.32.2                                ...           4 years ago
  • 0.32.1                                ...           4 years ago
  • 0.32.0                                ...           4 years ago
  • 0.31.0                                ...           4 years ago
  • 0.30.0                                ...           4 years ago
  • 0.29.0                                ...           4 years ago
Downloads
Total 40
Today 0
This Week 11
This Month 40
Last Day 0
Last Week 10
Last Month 0
Dependencies (1)
Dev Dependencies (3)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE