-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1127 from snowplow/release/r126
R126
- Loading branch information
Showing
3 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
schemas/com.snowplowanalytics.monitoring.batch/alert/jsonschema/1-0-0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"description": "Webhook payload describing an alert coming from RDB Loader", | ||
"self": { | ||
"vendor": "com.snowplowanalytics.monitoring.batch", | ||
"name": "alert", | ||
"format": "jsonschema", | ||
"version": "1-0-0" | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"base": { | ||
"description": "A folder that caused an alert", | ||
"type": ["string", "null"], | ||
"format": "uri", | ||
"maxLength": 1024 | ||
}, | ||
"application": { | ||
"type": "string", | ||
"maxLength": 64, | ||
"description": "Application's name and version" | ||
}, | ||
"message": { | ||
"description": "Free-form message describing the problem", | ||
"maxLength": 4096, | ||
"type": "string" | ||
}, | ||
"severity": { | ||
"description": "Severity level of the alarm", | ||
"enum": ["INFO", "WARNING", "ERROR"] | ||
}, | ||
"group": { | ||
"description": "Arbitrary string representing an entity several alerts can be grouped by", | ||
"type": ["string", "null"], | ||
"maxLength": 1024 | ||
}, | ||
"tags": { | ||
"description": "Set of key value pairs providing additional information", | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"required": ["application", "message", "severity", "tags"], | ||
"additionalProperties": false | ||
} |