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
As a follow-on to both #2001 and the coming elastic/apm-nodejs-http-client#144 let's consider changing the agent to use process.emitWarning when we want to give warnings to the user rather than logger.warn() or logger.error(). That will:
allow us to not spam to user if it is a repeated situation (e.g. if we are dropping events because of load on the APM server)
make the text more readable for the user (it won't be a JSON log record)
allow the user to handle/silence particular warnings if they want
A starter list of specific things we should be warning about:
demote the log.error about APM server connection issues to a warning (the occasional APM server conn issue is not typically an error the user needs to deal with)
As a follow-on to both #2001 and the coming elastic/apm-nodejs-http-client#144 let's consider changing the agent to use process.emitWarning when we want to give warnings to the user rather than logger.warn() or logger.error(). That will:
A starter list of specific things we should be warning about:
maxQueueSize
config coming after fix: blocking behaviour under load apm-nodejs-http-client#144The text was updated successfully, but these errors were encountered: