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 upcan not use count() to determine whether there is a machine actived #2535
Comments
This comment has been minimized.
This comment has been minimized.
|
Usage questions are best asked at https://groups.google.com/forum/#!forum/prometheus-users |
brian-brazil
closed this
Mar 29, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 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 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ckeyer commentedMar 28, 2017
•
edited
What did you do?
time() - container_last_seen=""} <=10no datacount(time() - container_last_seen <=10)returnno dataWhat did you expect to see?
count(time() - container_last_seen <=10)returnno dataWhat did you see instead? Under which circumstances?
count(time() - container_last_seen <=10)return0Environment
latest
System information:
insert output of
uname -srmherePrometheus version:
insert output of
prometheus -versionhereAlertmanager version:
insert output of
alertmanager -versionhere (if relevant to the issue)Prometheus configuration file: