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 kubernetes object statistics are not collected with coreOS #2405
Comments
This comment has been minimized.
This comment has been minimized.
|
Are you sure the /metrics is in the Prometheus format? |
This comment has been minimized.
This comment has been minimized.
|
Hi, How I can check this? Is there any guide? |
This comment has been minimized.
This comment has been minimized.
gianrubio
commented
Feb 9, 2017
|
@sugun999 in the first job you're not scrapping a prometheus endpoint, to verify just click in the first link http://10.2.36... and check the second error is related a network problem, check if prometheus can reach the hosts. |
This comment has been minimized.
This comment has been minimized.
|
Assuming this is resolved. |
fabxc
closed this
Mar 2, 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.
sugun999 commentedFeb 7, 2017
•
edited
Hi,
I am trying to collect statistics of kubernetes objects with prometheus. I have setup kubernetes with coreOS.
Used this file https://github.com/coreos/blog-examples/blob/master/monitoring-kubernetes-with-prometheus/prometheus.yml to run prometheus as pod.
My pods are running under "fast-local" namespace(where as prometheus pod is running under default namespace) and I specified below annotations with each of my pods and I am able to access these pods with services that I created with kubernetes.
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "1111"
I would expect to see successful statistics of my custom pods with prometheus UI. But it shows below error.
Am I missing anything? Do I need to run cAdvisor/heapster to collect statistics?