Unverified Commit 0f4d40ee authored by Stefan Prodan's avatar Stefan Prodan Committed by GitHub

Merge pull request #46 from dariusj18/patch-1

task_high_memory_usage_1g missing task_name in BY
parents 52ffa410 dda2f9d2
......@@ -14,7 +14,7 @@ groups:
}}' on '{{ $labels.container_label_com_docker_swarm_node_id }}'
- alert: task_high_memory_usage_1g
expr: sum(container_memory_rss{container_label_com_docker_swarm_task_name=~".+"})
BY (container_label_com_docker_swarm_node_id) > 1e+09
BY (container_label_com_docker_swarm_task_name, container_label_com_docker_swarm_node_id) > 1e+09
for: 1m
annotations:
description: '{{ $labels.container_label_com_docker_swarm_task_name }} on ''{{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment