You can't create an infrastructure alert condition because the metric you want to alert on does not appear in the Define thresholds section of the Infrastructure UI's alerts page.
Instead of using New Relic's Infrastructure UI, use Infrastructure REST API calls to create the alert condition.
Review the query syntax to create (POST) an Infrastructure condition.
Review the API requirements for metric conditions.
When you create the condition: For the
select_valuefield, build the metric name by using the following syntax, where
provideris a standard prefix string:
metric: Use the metric name as described in the New Relic documentation for your integration.
Maximum. Refer to the original documentation by the integration's cloud provider to see which statistic aggregations are available for each metric.
policy_idfield, use the unique ID for the condition's associated alert policy. Find the policy ID in the policy URL:
This happens because the Define thresholds dropdown list in the Infrastructure UI only shows the metrics that New Relic has been able to collect in the last hour.
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.