You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the issue has not already been raised
Issue
Maybe it's sleep deprivation, but I've looked through various docs and I'm admittedly stumped. In the README.md example it states:
// ... in your OTEL setupconstFastifyOtelInstrumentation=require('@fastify/otel');// If serverName is not provided, it will fallback to OTEL_SERVICE_NAME// as per https://opentelemetry.io/docs/languages/sdk-configuration/general/.constfastifyOtelInstrumentation=newFastifyOtelInstrumentation({servername: '<yourCustomApplicationName>'});fastifyOtelInstrumentation.setTracerProvider(provider)
For extra clarification, when starting a new project with Express I would normally just run auto-instrumentation using the following env var and not use a custom instrumentation.ts.
Would we need to also instrument @opentelemetry/instrumentation-pino as well, or does @fastify/otel handle that for us since pino is built into fastify?
Prerequisites
Issue
Maybe it's sleep deprivation, but I've looked through various docs and I'm admittedly stumped. In the README.md example it states:
What should the value for the
provider
parameter (last line above) be if I'm using@fastify/otel
with @opentelemetry/auto-instrumentations-node?The text was updated successfully, but these errors were encountered: