@opentelemetry/instrumentation-redis

v0.21.0
OpenTelemetry redis automatic instrumentation package.
opentelemetry redis nodejs tracing profiling instrumentation

tdd

npm run test -- --watch-extensions ts --watch

lint

eslint . --ext .ts

test

nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'

clean

rimraf build/*

codecov

nyc report --reporter=json && codecov -f coverage/*.json -p ../../

compile

npm run version:update && tsc -p .

prepare

npm run compile

lint:fix

eslint . --ext .ts --fix

precompile

tsc --version

test:debug

cross-env RUN_REDIS_TESTS_LOCAL=true ts-mocha --inspect-brk --no-timeouts -p tsconfig.json 'test/**/*.test.ts'

test:local

cross-env RUN_REDIS_TESTS_LOCAL=true npm run test

version:update

node ../../../scripts/version-update.js
npm i @opentelemetry/[email protected]

Metadata

  • Apache-2.0
  • >=8.0.0
  • OpenTelemetry Authors
  • released 6/16/2021

Downloads