APM data missing from Infrastructure

Problem

When APM and Infrastructure agents are installed on the same hosts and use the same New Relic license key, APM data should appear in Infrastructure, and vice versa. If you do not see this APM-Infrastructure linkage, follow these troubleshooting tips.

Solution

If you completed the APM/Infrastructure integration but do not see New Relic APM data in Infrastructure, try these troubleshooting procedures.

Restart the app server.

If you have not restarted your APM-monitored application in a few weeks or months, the data streams from Infrastructure and APM may not be linked.

  1. Restart your app server.
  2. Generate some traffic for your app.
  3. Wait a few minutes, and then check for APM data in Infrastructure.
Make sure the hostnames are the same in APM and Infrastructure.

If the hostnames are different in APM and Infrastructure, New Relic cannot integrate the data. One common cause for this issue is that the default hostnames are different. For example, Infrastructure uses a host's FQDN (such as myhost1.example.com), while APM uses the host's name (such as myhost1).

  1. Go to rpm.newrelic.com > (select an app).
  2. From the app's APM Overview page, look at the app's associated host name. Compare that name with the same host's name in Infrastructure.
  3. If the names are different, either set the APM agent host's display_name to match its FQDN, or set the host's display_name in Infrastructure to match the one set in APM.
Check for replacement host FQDN recognition problems.

If the APM-Infrastructure integration previously worked but has stopped, the server may have been replaced by another server that has the same FQDN. If both servers existed simultaneously for a period of time, New Relic cannot automatically recognize the new server. That will break the connection between APM and Infrastructure.

  • To solve this problem, get help at support.newrelic.com.
  • To prevent this problem, make sure there is a time gap between taking down an old server going down and creating a new server.

For more help

Recommendations for learning more: