newrelic / node-newrelic

New Relic Node.js agent code base. Developers are welcome to create pull requests here, please see our contributing guidelines. For New Relic technical support, please go to http://support.newrelic.com.
Apache License 2.0
969 stars 398 forks source link

Add supportability metrics for common logging frameworks #1148

Closed bizob2828 closed 2 years ago

bizob2828 commented 2 years ago

Is your feature request related to a problem? Please describe.

We currently only enrich logs in pino and winston. We want to add supportability metrics when customers are requiring other popular logging frameworks so we can get an idea of any other libraries to add log enrichers.

Feature Description

Add supportability metrics for common logging frameworks when a customer requires library. The metric name should follow the pattern of : Supportability/InstalledDependencies/Nodejs/<lib-name>

ref: https://www.npmtrends.com/bunyan-vs-fancy-log-vs-log4js-vs-loglevel-vs-npmlog-vs-pino-vs-winston

michaelgoin commented 2 years ago

Turns out an internal tool may already capture what we send up on the connect request so may not need these metrics. Corey is looking into this.