The violation of a condition generates a violation event, which passes important information downstream.
For more about the definition of violations and other terms, see Alerts concepts.
The violation of a condition generates a violation event. This event has various attributes (metadata) attached to it and different attributes can be used by different features.
The violation event is a concept used to determine alerting features. While you can query some of its associated attributes via NerdGraph, you cannot directly query the violation event.
This table shows violation event attributes.
The ID of the account where the violation occurred.
The ID of the condition that triggered the violation.
The name of the condition that triggered the violation.
The type of alert condition that triggered the violation. Available values:
The New Relic product of the violation’s target. Available values:
The runbook URL for the condition that triggered the violation.
The type of data targeted by a NRQL condition. In this context, this refers to any NRQL-queryable data type.
The full string of the NRQL query. Can be used for sub-string matching on attributes in the
The ID of the policy that triggered the violation.
The name of the policy that triggered the violation.
Arbitrary key-value metadata, or tags, associated with the violation.
The name of the violation’s target.
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.