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 upPrometheus 2.x inconsistent results through the time #3799
Comments
onorua
changed the title
Prometheus 2.1.0 inconsistent results through the time
Prometheus 2.x inconsistent results through the time
Feb 5, 2018
This comment has been minimized.
This comment has been minimized.
|
we have the same behavior with 2.0 as well as 2.1 Prometheus servers. |
This comment has been minimized.
This comment has been minimized.
|
Can you share the Prometheus configuration file? Also it is better to ask such questions on the Prometheus users mailing list. |
This comment has been minimized.
This comment has been minimized.
|
that is a bug report not a question |
This comment has been minimized.
This comment has been minimized.
|
I'm not familiar with the Consul SD but it looks like the Prometheus targets come and go. I would recommend to check the Targets page in the Prometheus UI and see if the expected endpoints are there while the metrics are missing. |
This comment has been minimized.
This comment has been minimized.
|
Im really sorry to bother, it seems my colleague convinced me that the query is correct, while the proper one should be:
closing as invalid. |
onorua
closed this
Feb 5, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 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. |
onorua commentedFeb 5, 2018
•
edited
What did you do?
I do query:
What did you expect to see?
I expect result to be consistent, values should be either exists or does not exists all the time, because
startandstoptimes never changed in the query.What did you see instead? Under which circumstances?
I've got following:
Important thing is, this metric is not regular, there is some tool Im not aware of which has metrics for 5 minutes and then 5 minutes there is no metrics:

Environment
dockerized Prometheus 2.1.0
config:
nothing related to this