# @kilianstallz/nestjs-jaeger-tracing

> NestJS jaeger tracing

Latest version **8.2.0** (published 2021-08-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @kilianstallz/nestjs-jaeger-tracing
pnpm add @kilianstallz/nestjs-jaeger-tracing
yarn add @kilianstallz/nestjs-jaeger-tracing
bun add @kilianstallz/nestjs-jaeger-tracing
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 8.2.0 |
| Published | 2021-08-06 |
| First published | 2021-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 15 |
| Unpacked size | 35.4 KB |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 25 |
| Maintainers | kilianstallz |
| Keywords | nestjs, jaeger, tracing, nestjs-jaeger-tracing |

## Links

- npm: https://www.npmjs.com/package/@kilianstallz/nestjs-jaeger-tracing
- Repository: https://github.com/dollarsignteam/nestjs-jaeger-tracing
- Homepage: https://github.com/dollarsignteam/nestjs-jaeger-tracing#readme
- Issues: https://github.com/dollarsignteam/nestjs-jaeger-tracing/issues
- npm.io page: https://npm.io/package/@kilianstallz/nestjs-jaeger-tracing

## Dependencies (15)

- [lodash](https://npm.io/package/lodash.md) ^4.17.20
- [express](https://npm.io/package/express.md) ^4.17.1
- [graphql](https://npm.io/package/graphql.md) ^15.5.1
- [ts-morph](https://npm.io/package/ts-morph.md) ^11.0.3
- [opentracing](https://npm.io/package/opentracing.md) ^0.14.4
- [@apollo/gateway](https://npm.io/package/@apollo/gateway.md) ^0.36.0
- [@nestjs/graphql](https://npm.io/package/@nestjs/graphql.md) ^8.0.2
- [@opentelemetry/api](https://npm.io/package/@opentelemetry/api.md) ^1.0.2
- [@opentelemetry/node](https://npm.io/package/@opentelemetry/node.md) ^0.11.0
- [@nestjs/microservices](https://npm.io/package/@nestjs/microservices.md) ^8.0.5
- [apollo-server-express](https://npm.io/package/apollo-server-express.md) 2.x.x
- [@opentelemetry/tracing](https://npm.io/package/@opentelemetry/tracing.md) ^0.11.0
- [@donews/nestjs-async-hooks](https://npm.io/package/@donews/nestjs-async-hooks.md) ^0.0.2
- [@opentelemetry/exporter-jaeger](https://npm.io/package/@opentelemetry/exporter-jaeger.md) ^0.11.0
- [@opentelemetry/shim-opentracing](https://npm.io/package/@opentelemetry/shim-opentracing.md) ^0.11.0

## Recent versions

- 8.2.0 (latest) — 2021-08-06
- 8.1.0 — 2021-08-06
- 8.0.1 — 2021-08-06
- 8.0.0 — 2021-08-06
- 2.0.0 — 2021-08-05
- 1.0.8 — 2021-08-05

## README

<div align="center">
  <h1>NestJS Jaeger Tracing</h1>
</div>
<div align="center">
  <strong>Jaeger distributed tracing for Nest framework</strong>
</div>

## 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 {}
```

---

---
_Source: https://npm.io/package/@kilianstallz/nestjs-jaeger-tracing · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
