Skip to content

Commit

Permalink
Add monitor messages (DataDog#18418)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkirov-dd authored Aug 27, 2024
1 parent e58dd16 commit 58d7d5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aws_neuron/assets/monitors/execution_errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "High amount of execution errors on {{instance_id.name}}",
"type": "query alert",
"query": "sum(last_5m):sum:aws_neuron.execution.errors.count{*} by {instance_id}.as_count() > 10",
"message": "",
"message": "{{#is_alert}}{{instance_id.name}} has experienced {{value}} execution errors over the last 5 minutes.{{/is_alert}}\n{{#is_recovery}}The number of execution errors on {{instance_id.name}} is back below the threshold of {{threshold}}.{{/is_recovery}}",
"tags": [
"integration:aws_neuron"
],
Expand Down
2 changes: 1 addition & 1 deletion aws_neuron/assets/monitors/execution_latency.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "Latency is high on {{instance_id.name}} ",
"type": "query alert",
"query": "avg(last_5m):avg:aws_neuron.execution.latency_seconds{*} by {instance_id} > 2",
"message": "",
"message": "{{#is_alert}}The average execution latency on {{instance_id.name}} has been {{value}} over the past 5 minutes.{{/is_alert}}\n{{#is_recovery}}The execution latency of {{instance_id.name}} has recovered below the threshold of {{threshold}}.{{/is_recovery}}",
"tags": [
"integration:aws_neuron"
],
Expand Down
2 changes: 1 addition & 1 deletion aws_neuron/assets/monitors/neuron_runtime_vcpu.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "The Neuron Runtime has high vCPU usage on {{instance_id.name}}",
"type": "query alert",
"query": "avg(last_5m):avg:aws_neuron.neuron_runtime.vcpu_usage_ratio{*} by {instance_id} > 0.8",
"message": "",
"message": "{{#is_alert}}The average vCPU usage on {{instance_id.name}} has been {{value}} over the past 5 minutes.{{/is_alert}}\n{{#is_recovery}}The average vCPU usage of {{instance_id.name}} has recovered below the threshold of {{threshold}}.{{/is_recovery}}",
"tags": [
"integration:aws_neuron"
],
Expand Down

0 comments on commit 58d7d5e

Please sign in to comment.