No data appears (C SDK)

Problem

You installed the New Relic C SDK, generated traffic for your app, and waited a few minutes, but you still do not see data reporting in New Relic APM.

Solution

These troubleshooting tips are approximately ordered from the most common to least common issue.

  1. Check the output in the C SDK and daemon log files for errors.
  2. Make sure the daemon process (newrelic-daemon) is up and running so that it is invoked before starting your instrumented application.
  3. Verify your app's name and license key in your C SDK configuration.
  4. Make sure you call:

    Also make sure none of these calls returns false or NULL.

  5. If necessary, check the C SDK version using newrelic_version(), and update your C SDK library to the latest release.

For more help

Recommendations for learning more: