A condition opening an incident generates an 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. The violation event data type is collected in NrAiIncident.
You may be wondering why we're using NrAiIncident
as the name for the violation event data type. Although we currently refer to these events as "violations," they'll be called "incidents" in our new, upcoming naming scheme. This name prepares for and reflects our future intentions.
All attributes are available for use in a description. Read about attributes available for muting rules.
Attribute | Description |
---|---|
| The ID of the account where the violation occurred. Available for muting rules. |
| The active condition's aggregation window. |
| If applicable, what caused the incident to close. Available values: |
| If applicable, the timestamp when the incident was closed. |
| If true, open violations on the signal are closed if the signal is lost. Default is false. To use this field, an |
| The ID of the condition that triggered the violation. Available for muting rules. |
| The name of the condition that triggered the violation. Available for muting rules. |
| The timestamp when the targeted metric started to breach the active condition’s threshold. |
| The contents of the active condition’s NRQL or Infrastructure conditions only. |
| The targeted entity's globally unique identifier, if available. Available for muting rules. |
| The targeted entity's name, if available. |
| The targeted entity's type, if available. |
| The active condition's evaluation offset. A time delay (in seconds) to ensure data points are placed in the correct aggregation window. If you use the Delay/timer setting in the UI, it clears |
| The reason the violation was opened. Available values:
|
| The record's event type. Available values: |
| The active condition's signal loss time window. |
| The unique identifier of the violation. |
| Shows whether the active condition was muted at the time of the violation event. |
| The unqiue identifier of the muting rule that caused the violation to be muted. |
| The type of data targeted by a NRQL condition. In this context, this refers to any NRQL-queryable data type. Available for muting rules. |
| The full string of the NRQL query. Can be used for sub-string matching on attributes in the Available for muting rules. |
| The timestamp when the violation was opened. |
| The violation threshold's operator, such as For signal loss violations, this is an empty string. |
| The ID of the policy that triggered the violation. Available for muting rules. |
| The name of the policy that triggered the violation. Available for muting rules. |
| The level of the violation: |
| The timestamp when the active condition's targeted metric stops breaching the threshold. |
| The runbook URL for the condition that triggered the violation. Available for muting rules. |
| Arbitrary key-value metadata, or tags, associated with the violation. Available for muting rules. |
| The name of the violation’s target. This can be an entity or a query. Available for muting rules. |
| The active condition's threshold value. |
| The active condition's threshold time window. |
| Shows whether |
| The event's wall clock time using an epoch timestamp. |
| The incident's title. |
| The incident's type. Available value: |
| The active condition's aggregation function. Used in APM, browser, and mobile alert condition types. |
| The active condition's violation time limit setting. |
violationUuId | Deprecated. Do not use. |