title: How to set APM service name in DataDog for an application using Nodejs
body: <p>I am not able to see traces for my application under APM --> Service in Datadog. I found some sample code from Datadog docs but don't know exactly where it should go inside my application. Please let me know if anyone has any idea regarding it. </p>
  
  <p>I have already tried with following code in my js file. My application is based on node js which is serverless.</p>
  
  <pre><code>const tracer = require('dd-trace').init();
  tracer.use('http', {
      service: 'test'
  });
  </code></pre>
  
  <p>I have also added dependencies for dd-trace in package.json as <code>"dd-trace": "^0.11.0"</code></p>
  
  <p>I expected to list my application with proper name in APM Services in Datadog.</p>