New Relic Alert When No Data is Received

Published: November 4, 2019

There is a known bug with the New Relic PHP agent that causes it to stop reporting data when it is upgraded.

When I ran into this recently it made me think, “it would be nice if I could have New Relic send me an alert when it stops receiving data from the application.”

Some Googling revealed that unfortunately, this is easier said than done.

The best option appears to be a create an alert based on a NRQL query which checks the count of transactions from the application.

It seems like there should be an on / off switch for this somewhere in the APM settings and it should default to on…

Max Chadwick Hi, I'm Max!

I'm a software developer who mainly works in PHP, but loves dabbling in other languages like Go and Ruby. Technical topics that interest me are monitoring, security and performance. I'm also a stickler for good documentation and clear technical writing.

During the day I lead a team of developers and solve challenging technical problems at Something Digital where I mainly work with the Magento platform. I've also spoken at a number of events.

In my spare time I blog about tech, work on open source and participate in bug bounty programs.

If you'd like to get in contact, you can find me on Twitter and LinkedIn.