JSPM

@nestjs-redisx/tracing

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 33
  • Score
    100M100P100Q89205F
  • License MIT

OpenTelemetry tracing plugin for NestJS RedisX - distributed tracing for Redis operations with Jaeger/Zipkin support

Package Exports

  • @nestjs-redisx/tracing

Readme

NestJS RedisX

@nestjs-redisx/tracing

npm npm downloads license

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 ioredis

Quick 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 automatically

Documentation

Full documentation: nestjs-redisx.dev/en/reference/tracing/

License

MIT