Open Qard opened 5 years ago
See my note in #1392 about getting support for many loggers much easier.
Not sure it's clear, but this issue is not about allowing winston to be used for the logger
option in agent.start(...)
. That option is for directing log information internal to the agent to whatever source you choose.
This particular issue is about being able to capture use of winston for app logs and inject metadata alongside the log messages to allow associating them with the current transaction or span at the time the message is sent to the log.
Carry on.
Hello, I hope its the right thread to ask this question...
So I use winston-elasticsearch to integrate apmAPM with logs.
but currently have issue with APM always intercept the es cluster checking. Here's the log:
ntercepted call to @elastic/elasticsearch "request" event { id: 6, method: 'GET', path: '/_cluster/health' }
no active transaction found - cannot build new span
no active transaction found - cannot build new span
intercepted call to https.request { id: null }
Sending error to Elastic APM { id: '26eaa9a6affbab65d2a31736a8a0d141' }
no active transaction found - cannot build new span
intercepted call to https.request { id: null }
intercepted call to @elastic/elasticsearch "request" event { id: 7, method: 'GET', path: '/_cluster/health' }
no active transaction found - cannot build new span
no active transaction found - cannot build new span
intercepted call to https.request { id: null }
the quetion were:
thanks in advance
Continuing from the ecosystem research in #1187, we've decided to integrate with winston.