How do I integrate NewRelic into a Node Typescript Express server App?

I tried Newrelic in nodejs’s typescript project I used Winston logger is above 3.3.3 and gave Newrelic version "newrelic": "^8.14.0" below I mentioned my Newrelic config file

newrelic_config.js

exports.config = {

  app_name: ['Article Transfer Service'],
  license_key: 'xyzmnoabcd',
  agent_enabled : true,
  application_logging: {
    forwarding: {
      enabled: true
    }
  },
  logging: {
    level: 'info'
  },

  transaction_tracer : {
    enabled : true,
    record_sql : true
  },
  capture_params : true,
  "browser_monitoring.enable" : true,
  "error_collector" : {
    enabled : true
  },
  transaction_events : {
    enabled : true
  },
  slow_sql : {
    enabled : true
  },
  datastore_tracer :  {
    "instance_reporting.enabled" : true,
    "database_name_reporting.enabled" : true
  },
  distributed_tracing: {
    enabled: true
  }
}

Read more here: Source link