@totalsoft/pino-opentelemetry
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

pino-opentelemetry

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

Installation

npm i @totalsoft/pino-opentelemetry

or

yarn add @totalsoft/pino-opentelemetry

Usage

import { openTelemetryTracingTransport } from '@totalsoft/pino-opentelemetry'
import { pino } from 'pino'

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

Readme

Keywords

Package Sidebar

Install

npm i @totalsoft/pino-opentelemetry

Weekly Downloads

151

Version

2.0.0

License

MIT

Unpacked Size

48.1 kB

Total Files

12

Last publish

Collaborators

  • osstotalsoft