-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AI-4928] Add recommended monitor for octopus deploy (#19442)
* Add recommended monitor * update message * update message and boundaries
- Loading branch information
1 parent
0fb036e
commit 405c681
Showing
2 changed files
with
37 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"version": 2, | ||
"created_at": "2025-01-16", | ||
"last_updated_at": "2025-01-16", | ||
"title": "Deployment failed", | ||
"description": "At least one deployment task has failed in Octopus Deploy. If more than one deployment has failed, there is likely an ongoing issue with the deployment process or service.", | ||
"definition": { | ||
"id": 162880440, | ||
"name": "Deployment Failed for {{project_name.name}}", | ||
"type": "query alert", | ||
"query": "sum(last_30m):avg:octopus_deploy.deployment.count{task_state:failed*} by {project_name} >= 3", | ||
"message": "{{#is_alert}}\\n At least 3 deployments have failed for {{project_name.name}} \\n{{/is_alert}}\n\n{{#is_warning}}One deployment has failed for {{project_name.name}}.{{/is_warning}}\n", | ||
"tags": [], | ||
"options": { | ||
"thresholds": { | ||
"critical": 3, | ||
"warning": 1 | ||
}, | ||
"notify_audit": false, | ||
"on_missing_data": "default", | ||
"include_tags": true, | ||
"new_group_delay": 60, | ||
"silenced": {}, | ||
"avalanche_window": 20 | ||
}, | ||
"priority": null, | ||
"restriction_policy": { | ||
"bindings": [] | ||
} | ||
}, | ||
"tags": [ | ||
"integration:octopus-deploy" | ||
] | ||
} |
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