Skip to content

Commit

Permalink
feat(Alerts): Added attributes for NrAiIncidentExternal event
Browse files Browse the repository at this point in the history
  • Loading branch information
paperclypse committed Mar 4, 2022
1 parent 5ce364e commit 5383dd0
Show file tree
Hide file tree
Showing 12 changed files with 98 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/data-dictionary/events/NrAiIncidentExternal/aggregationTag.md
@@ -0,0 +1,10 @@
---
name: aggregationTag.*
type: attribute
events:
- NrAiIncidentExternal
---

Any trigger events with the `aggregationTag` prefix and the same suffix attribute are grouped together in an incident. A resolve event resets this aggregation.

When resolving an incident, make sure the resolve event includes the same aggregation tag.
@@ -0,0 +1,8 @@
---
name: deepLinkUrl
type: attribute
events:
- NrAiIncidentExternal
---

A URL to a page related to the incident.
@@ -0,0 +1,8 @@
---
name: description
type: attribute
events:
- NrAiIncidentExternal
---

The triggering event description.
@@ -0,0 +1,8 @@
---
name: entity.guid
type: attribute
events:
- NrAiIncidentExternal
---

The identifier of the entity linked to the incident.
8 changes: 8 additions & 0 deletions src/data-dictionary/events/NrAiIncidentExternal/priority.md
@@ -0,0 +1,8 @@
---
name: priority
type: attribute
events:
- NrAiIncidentExternal
---

The incident's priority: `low`, `medium`, `high`, or `critical`. Default: `high`.
8 changes: 8 additions & 0 deletions src/data-dictionary/events/NrAiIncidentExternal/runbookUrl.md
@@ -0,0 +1,8 @@
---
name: runbookUrl
type: attribute
events:
- NrAiIncidentExternal
---

The runbook URL for the condition that triggered the violation.
8 changes: 8 additions & 0 deletions src/data-dictionary/events/NrAiIncidentExternal/source.md
@@ -0,0 +1,8 @@
---
name: source
type: attribute
events:
- NrAiIncidentExternal
---

The system that triggered the notification, not the entity that faulted. Required for trigger.
8 changes: 8 additions & 0 deletions src/data-dictionary/events/NrAiIncidentExternal/state.md
@@ -0,0 +1,8 @@
---
name: state
type: attribute
events:
- NrAiIncidentExternal
---

Whether the event should trigger a new incident or resolve an existing one. Enum: `trigger`, `resolve`, and `acknowledge`. Required.
8 changes: 8 additions & 0 deletions src/data-dictionary/events/NrAiIncidentExternal/tag.md
@@ -0,0 +1,8 @@
---
name: tag.*
type: attribute
events:
- NrAiIncidentExternal
---

Arbitrary key-value metadata, or tags, associated with the violation. `tag.` is the prefix and `*` is the metadata/tag name.
8 changes: 8 additions & 0 deletions src/data-dictionary/events/NrAiIncidentExternal/timestamp.md
@@ -0,0 +1,8 @@
---
name: timestamp
type: attribute
events:
- NrAiIncidentExternal
---

The event's wall clock time using an epoch timestamp.
8 changes: 8 additions & 0 deletions src/data-dictionary/events/NrAiIncidentExternal/title.md
@@ -0,0 +1,8 @@
---
name: title
type: attribute
events:
- NrAiIncidentExternal
---

The triggering event title. Required for trigger.
8 changes: 8 additions & 0 deletions src/data-dictionary/events/NrAiIncidentExternal/version.md
@@ -0,0 +1,8 @@
---
name: version
type: attribute
events:
- NrAiIncidentExternal
---

The version of the current format.

0 comments on commit 5383dd0

Please sign in to comment.