#nestjs-pino and open telemetry

2 messages · Page 1 of 1 (latest)

magic atlas
#

Hi

I'm using nestjs-pinno logs together with pino-pretty and I can't pass this to telemetry. I configured telemetry using @opentelemetry/sdk-node. Following this tutorial: https://www.tomray.dev/nestjs-open-telemetry. I have instrumentation for http, express, typeorm and nestjs working but unfortunately logs from pino aren't sending. I have exporter configured for console and jagger. I also use pino intrumenctation(@opentelemetry/instrumentation-pino) but these logs don't go to telemetry.

Does it need to configure something extra? Should this configuration be sufficient? I've scoured the entire internet and I'm out of ideas.

magic atlas
#

As if anyone was looking for answers - you need to implement the instrumentation yourself.