# @totalsoft/pino-opentelemetry

> Correlation id mixin for pino

Latest version **3.0.1** (published 2026-07-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @totalsoft/pino-opentelemetry
pnpm add @totalsoft/pino-opentelemetry
yarn add @totalsoft/pino-opentelemetry
bun add @totalsoft/pino-opentelemetry
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 3.0.1 |
| Published | 2026-07-08 |
| First published | 2023-03-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 178.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 26 |
| Author | TotalSoft |
| Maintainers | osstotalsoft |
| Keywords | opentelemetry |

## Links

- npm: https://www.npmjs.com/package/@totalsoft/pino-opentelemetry
- Repository: https://github.com/osstotalsoft/rocket-toolkit
- Homepage: https://github.com/osstotalsoft/rocket-toolkit#readme
- Issues: https://github.com/osstotalsoft/rocket-toolkit/issues
- npm.io page: https://npm.io/package/@totalsoft/pino-opentelemetry

## Dependencies (5)

- [pino](https://npm.io/package/pino.md) ^10.3.1
- [ramda](https://npm.io/package/ramda.md) ^0.32.0
- [split2](https://npm.io/package/split2.md) ^4.2.0
- [@opentelemetry/api](https://npm.io/package/@opentelemetry/api.md) ^1.9.1
- [@opentelemetry/semantic-conventions](https://npm.io/package/@opentelemetry/semantic-conventions.md) ^1.41.1

## Recent versions

- 3.0.1 (latest) — 2026-07-08
- 3.0.0 — 2024-11-06
- 2.0.0 — 2023-03-06

## README

# pino-opentelemetry

This package can be used to write the log event on the active opentelemetry tracing span.

## Installation

```javascript
npm i @totalsoft/pino-opentelemetry
```

or

```javascript
yarn add @totalsoft/pino-opentelemetry
```

## Usage
```javascript
import { openTelemetryTracingTransport } from '@totalsoft/pino-opentelemetry'
import { pino } from 'pino'

const destination = openTelemetryTracingTransport()
const logger = pino({}, destination)
```

---
_Source: https://npm.io/package/@totalsoft/pino-opentelemetry · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
