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
Hi, I have a Node.js application with multiple logger instances (application and audit) and want to instrument and send only the application instance logs to the collector. I am using the pino logger so the auto instrumentation loads the opentelemetry-instrumentation-pino plugin but the configurations are the same for the opentelemetry-instrumentation-winston and opentelemetry-instrumentation-bunyan plugins. Seeing this, I can't find a way to conditionally instrument a specific logger instance.
Hi, I have a Node.js application with multiple logger instances (application and audit) and want to instrument and send only the application instance logs to the collector. I am using the
pino
logger so the auto instrumentation loads theopentelemetry-instrumentation-pino
plugin but the configurations are the same for theopentelemetry-instrumentation-winston
andopentelemetry-instrumentation-bunyan
plugins. Seeing this, I can't find a way to conditionally instrument a specific logger instance.Let me give an example.
application log
audit log
I only want the instrumentation when
context
matchesaudit
.Is it an expected case?
The text was updated successfully, but these errors were encountered: