@opentelemetry/instrumentation-redis

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

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/*

compile

npm run version:update && tsc -p .

prepare

npm run compile

lint:fix

eslint . --ext .ts --fix

prewatch

npm run precompile

precompile

tsc --version && lerna run version --scope @opentelemetry/instrumentation-redis --include-dependencies

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

test-all-versions

tav

test-all-versions:local

cross-env RUN_REDIS_TESTS_LOCAL=true npm run test-all-versions
npm i @opentelemetry/[email protected]

Metadata

  • Apache-2.0
  • >=8.0.0
  • OpenTelemetry Authors
  • released 3/2/2022

Downloads