Skip to content

Commit

Permalink
update message
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah-witt committed Jan 29, 2025
1 parent 2d7247a commit c5b87a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions octopus_deploy/assets/monitors/deployment_failed.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"created_at": "2025-01-16",
"last_updated_at": "2025-01-16",
"title": "Deployment failed",
"description": "A deployment task failed in Octopus Deploy.",
"description": "At least one deployment task has failed in Octopus Deploy.",
"definition": {
"id": 162880440,
"name": "Deployment Failed for {{project_name.name}}",
"type": "query alert",
"query": "sum(last_10m):avg:octopus_deploy.deployment.count{task_state:failed*} by {project_name} > 5",
"message": "{{#is_alert}}\\n At least 1 deployment has failed for {{project_name.name}} \\n{{/is_alert}}",
"query": "sum(last_10m):avg:octopus_deploy.deployment.count{task_state:failed*} by {project_name} >= 5",
"message": "{{#is_alert}}\\n At least 5 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": {
Expand Down

0 comments on commit c5b87a1

Please sign in to comment.