Skip to content

About

Pretty console exporter for opentelemetry-js

Resources

Stars

6 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Pretty Console Exporter For OpenTelemetry JS

Getting started

  1. Install via your package manager
$ pnpm add opentelemetry-exporter-console-pretty
$ yarn add opentelemetry-exporter-console-pretty
$ npm i -S opentelemetry-exporter-console-pretty
  1. Use it as a span processor
const { NodeSDK } = require('@opentelemetry/sdk-node')
const { PrettyConsoleProcessor } = require('opentelemetry-exporter-console-pretty')

const sdk = new NodeSdk({
  spanProcessor: new PrettyConsoleProcessor(),
  instrumentations: [
    // your instrumentations
  ]
})

Screenshot

Image showing colourful console output

About

Pretty console exporter for opentelemetry-js

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages