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 upDocker instance won't scrape #2936
Comments
This comment has been minimized.
This comment has been minimized.
|
Usage questions should be asked on https://groups.google.com/forum/#!aboutgroup/prometheus-users |
brian-brazil
closed this
Jul 12, 2017
This comment has been minimized.
This comment has been minimized.
|
From your logs it is clear that you don't have enough memory. But what is surprising is that you ran out of memory for just 2 targets. Give your prometheus enough memory and it should work. This has been closed as it is not a bug in Prometheus itself. |
This comment has been minimized.
This comment has been minimized.
|
@gouthamve Yes, it is odd even more so because before the update (to 1.7.1) it just worked. Ctop is showing that prometheus is using 17M/983M available. By give it more memory what did you think: at docker level? |
This comment has been minimized.
This comment has been minimized.
|
Looks like I've found the issue. At the end I just removed the last one and now it works. |
This comment has been minimized.
This comment has been minimized.
timchenxiaoyu
commented
Jul 21, 2017
•
This comment has been minimized.
This comment has been minimized.
suanziliu
commented
Nov 19, 2018
•
|
Hi @MihaMarkic , Can I ask:
Which one did you remove and what is the configuration you are using? Thanks, |
This comment has been minimized.
This comment has been minimized.
|
@suanziliu Probably I just removed -storage.local.target-heap-size. |

MihaMarkic commentedJul 12, 2017
What did you do?
Run prometheus as docker instance.
What did you expect to see?
Scrapes running.
What did you see instead? Under which circumstances?
No scrapes are run, both prometheus and mine target are listed as unknown.
Note that service of mine (airpoll) is very simple.
Environment
Ubuntu/docker 17.05.0-ce
System information:
Linux 4.4.0-83-generic x86_64
Prometheus version:
1.7.1
Prometheus configuration file: