Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uphow to make the event of no datapoint found to triggerring alarm #1956
Comments
fabxc
added
the
kind/question
label
Sep 7, 2016
This comment has been minimized.
This comment has been minimized.
|
In general the I'm not sure I understand what you want to do in this context. Do you want to alert if there are no instances for a Marathon task? In this case you should probably not try to embed this into calculations of CPU usage but have a separate alert. |
juliusv
referenced this issue
Sep 8, 2016
Closed
how to make the event of no datapoint found to trigger alarm #494
brian-brazil
closed this
Oct 26, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 24, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
zouyee commentedSep 7, 2016
•
edited
What did you do?⚠️ /nginx", summary="ea:app:cpus:sum:<0.8:5m⚠️ /nginx"}

ALERT ea
IF sum(rate(container_cpu_usage_seconds_total{marathon_app_id="/nginx"}[5m])) BY (mesos_task_id, instance) / count(container_cpu_usage_seconds_total{marathon_app_id="/nginx"}) BY (mesos_task_id, instance) == nil
FOR 5m
LABELS {severity="warning"}
ANNOTATIONS {description="ea:app:cpus:sum:<0.8:5m
What did you expect to see?
how to make the event of no datapoint found to triggerring alarm
@fabxc could you help me? thanks u for your response!