@nestjs-redisx/tracing
v1.4.0
Published
OpenTelemetry tracing plugin for NestJS RedisX - distributed tracing for Redis operations with Jaeger/Zipkin support
Downloads
226
Maintainers
Readme
@nestjs-redisx/tracing
OpenTelemetry tracing plugin for NestJS RedisX. Automatic distributed tracing for all Redis operations with Jaeger, Zipkin, and OTLP exporter support. OpenTelemetry SDKs are bundled.
Installation
npm install @nestjs-redisx/core @nestjs-redisx/tracing ioredisQuick Example
import { RedisModule } from '@nestjs-redisx/core';
import { TracingPlugin } from '@nestjs-redisx/tracing';
@Module({
imports: [
RedisModule.forRoot({
clients: { host: 'localhost', port: 6379 },
plugins: [
new TracingPlugin({
serviceName: 'my-app',
exporter: { type: 'otlp', endpoint: 'http://localhost:4318/v1/traces' },
}),
],
}),
],
})
export class AppModule {}
// All Redis commands are now traced automaticallyDocumentation
Full documentation: nestjs-redisx.dev/en/reference/tracing/
Using with AI Assistants
For better code generation with AI tools (Cursor, Claude Code, GitHub Copilot, etc.), point your agent to the full API reference:
https://nestjs-redisx.dev/llms-full.txtLicense
MIT
