Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dollarsignteam/nestjs-jaeger-tracing
NestJS jaeger tracing
https://github.com/dollarsignteam/nestjs-jaeger-tracing
Last synced: 2 months ago
JSON representation
NestJS jaeger tracing
- Host: GitHub
- URL: https://github.com/dollarsignteam/nestjs-jaeger-tracing
- Owner: dollarsignteam
- License: mit
- Created: 2020-09-22T06:06:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T04:55:48.000Z (over 2 years ago)
- Last Synced: 2024-04-20T03:42:22.277Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 672 KB
- Stars: 26
- Watchers: 3
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
NestJS Jaeger Tracing
Jaeger distributed tracing for Nest framework## Features
- Supported Environments
- RESTful
- GraphQL
- Microservices### Installation
- Yarn
```bash
yarn add @dollarsign/nestjs-jaeger-tracing
```- NPM
```bash
npm install @dollarsign/nestjs-jaeger-tracing --save
```### Getting Started
Register `TracingModule` module in app.module.ts
```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 {}
```---