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 upMonitoring Kubernetes using Prometheus #1911
Comments
This comment has been minimized.
This comment has been minimized.
|
Per the error emssage you've an invalid configuration. Remove the http:// from the targets. |
brian-brazil
added
the
kind/question
label
Aug 23, 2016
This comment has been minimized.
This comment has been minimized.
|
Brian, thank you for pointing that out...I was using the Link here as guide Thanks On 23 Aug 2016 16:14, "Brian Brazil" notifications@github.com wrote:
|
This comment has been minimized.
This comment has been minimized.
|
Hi; I can now see the output from the API. A further question from me if you can assist as I am new to prom..from a nagios background. Using my external prom server, I am using the example prometheus-kubernetes.yml file from the repo: https://github.com/prometheus/prometheus/blob/v1.0.1/documentation/examples/prometheus-kubernetes.yml I am getting this error: Maybe I'm mix and matching a prom running inside k8s and my one running externally? PROMETHEUS.YML
|
This comment has been minimized.
This comment has been minimized.
|
Make sure you're running a recent version of Prometheus, labelmap was added quite some time ago. |
This comment has been minimized.
This comment has been minimized.
|
Closing as this has gone stale. |
fabxc
closed this
Nov 12, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 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. |
aktarali commentedAug 23, 2016
•
edited by brian-brazil
Hi;
I am running a Prometheus instance external to the Kubernetes cluster. I am trying to use this instance to scrape Kubernetes cluster. Here is my prometheus.yaml file:
I keep getting the following errors:
However, when I use my browser to go to http://http://node6.crmld.com:4001/metrics I can see all the metrics.
Can someone please help, its probably something quite simple?
Thanks
Ali.