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 APM.
Solution
These troubleshooting tips are approximately ordered from the most common to least common issue.
- Check the output in the C SDK and daemon log files for errors.
- Make sure the daemon process (
newrelic-daemon
) is up and running so that it is invoked before starting your instrumented application. - Verify your app's name and license key in your C SDK configuration.
-
Make sure you call:
newrelic_create_app()
newrelic_start_web_transaction()
ornewrelic_start_non_web_transaction()
as applicablenewrelic_end_transaction()
Also make sure none of these calls returns
false
orNULL
. - If necessary, check the C SDK version using
newrelic_version()
, and update your C SDK library to the latest release.