-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Summary
Currently, New Relic’s Reports feature allows users to schedule daily, weekly, monthly or custom report emails. However, reports are sent unconditionally, regardless of the data in the query results. We propose the ability to define thresholds within a report, so that emails are sent only when certain conditions are met.
Desired Behavior
Scheduled New Relic Reports should support threshold-based logic, enabling reports to be sent only when specific data conditions are met. This would allow users to configure a report that triggers only when the result of a NRQL query matches a defined threshold condition.
Example scenarios:
- Send an email only if
count > X - Send an email only if
count = 0 - Send an email only if
count < X
This behavior is currently available in tools like Sumo Logic, and introducing similar functionality in New Relic would significantly enhance report usefulness and reduce noise.
Possible Solution
Add a threshold condition builder to the Reports Builder UI, similar to how alert conditions are configured. This could include:
- A toggle to enable/disable thresholds
- A dropdown for comparison types
(=, >, <, >=, <=) - A numeric or string value input
- Optional: multiple conditions (AND/OR logic)
Internally, this could reuse NRQL alert evaluation mechanisms but scoped to scheduled reports.
Additional context
This feature is important because we want to analyze all logs from the previous day and identify any non-critical errors. If such errors are found, we would like to receive a report via email. These issues don’t require immediate attention—critical alerts are already handled separately via our alerting setup. However, having visibility into these lower-priority errors helps us continuously monitor the health of our platform and improve its overall reliability and sophistication.