@kilianstallz/nestjs-jaeger-tracing

NestJS jaeger tracing

Showing:

Popularity

Downloads/wk

16

GitHub Stars

12

Maintenance

Last Commit

3mos ago

Contributors

6

Package

Dependencies

15

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

NestJS Jaeger Tracing

Jaeger distributed tracing for Nest framework

Features

  • Supported Environments
    • RESTful
    • GraphQL
    • Microservices

Installation

  • Yarn
yarn add @dollarsign/nestjs-jaeger-tracing
  • NPM
npm install @dollarsign/nestjs-jaeger-tracing --save

Getting Started

Register TracingModule module in app.module.ts

import { TracingModule } from '@dollarsign/nestjs-jaeger-tracing';
import { Module } from '@nestjs/common';
import { ClientsModule, Transport } from '@nestjs/microservices';

@Module({
  imports: [
    TracingModule.forRoot({
      exporterConfig: {
        serviceName: 'core-service',
      },
      isSimpleSpanProcessor: true,
    }),
    ClientsModule.register([
      {
        name: 'MATH_SERVICE',
        transport: Transport.TCP,
        options: {
          port: 3001,
          ...TracingModule.getParserOptions(),
        },
      },
    ]),
  ],
})
export class AppModule {}

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100