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.
What is a violation event?
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.
Important
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.
Violation event attributes
This table shows violation event attributes.
All attributes are available for use in a description. Read about attributes available for muting rules.
Attribute | Description | Muting rules? |
---|---|---|
| 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: | |
| 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. | |
| Possible values: |
For more help
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.