Hi,

I've installed New Relic on my server and can successfully track reports on my Panel at New Relic. I then decided to try New Relic RPM Integration module. Unfortunately after activating it and entering API Key on /admin/settings/new-relic-rpm New Relic RPM reports on /admin/reports/new-relic-rpm outputs two errors:

warning: Invalid argument supplied for foreach() in /opt/drupal6/sites/all/modules/new_relic_rpm/new_relic_rpm.reports.inc on line 92.
warning: Invalid argument supplied for foreach() in /opt/drupal6/sites/all/modules/new_relic_rpm/new_relic_rpm.reports.inc on line 126.

BTW, instructions for the module implies I needed to enter my application name, however on the settings page I couldn't see any field where I could enter it.

Comments

neclimdul’s picture

Yeah, seems reporting is broken. Nothing stands out so will have to look into this a little more.

Re-instructions, they didn't get updated when that setting was removed. We use the value set in your php configuration since that's required to work anyways.

jonathan webb’s picture

Status: Active » Needs review
StatusFileSize
new458 bytes

New Relic is now expecting the API Key to be delivered via a header named "x-api-key". The patch attached should solve this.

neclimdul’s picture

Status: Needs review » Fixed

thanks berdir

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.