recently i started pushing metrics to prometheus but whenever i sent a sample query to prometheus to see the data points, i would get none.
There were no errors in prometheus and i was scratching my head …. grrr…
I was on Mac OS and using a Docker image of Prometheus (version=1.7.1)
When i went into the docker container and checked the dateTime, walaaaaaaaaaaaa
There was a Time mismatch between host and Docker container.
#___7_day__difference__ –> Possible docker bug !!!
since i was searching in the current timebucket, and the datapoints were going to time bucket 7 days ago, i was not able to find em.
Restarting docker for Mac fixed the issue.