@opentelemetry/instrumentation-redis
v0.40.0 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
tsc -p .
lint:fix
eslint . --ext .ts --fix
prewatch
npm run precompile
precompile
tsc --version && lerna run version:update --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
prepublishOnly
npm run compile
version:update
node ../../../scripts/version-update.js
test:docker:run
docker run --rm -d --name otel-redis -p 63790:6379 redis:alpine
test:docker:stop
docker stop otel-redis
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
- >=14
- OpenTelemetry Authors
- released 6/6/2024