Closed zxwing closed 8 years ago
What does /targets on your Prometheus server show for the http://my_ip:9103/metrics
target endpoint? Does it show as UP
? If not, what's the error?
unable to reproduce steadily, close it for now
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.
I am not reporting a bug here but seeking a way to debug.
I have Prometheus and collectd_exporter on a host to collect data from VMs and the host itself. However, through the web UI(9090 port) I can only see VMs' data, while I can see host's data through the metric url(9103 port). I am pretty sure something is going wrong because the same setup works fine on another host. Please suggest me a way to debug this issue, I cannot find anything useful in the logs.
_collectd_cpupercent is an example that can be found in http://my_ip:9103/metrics but not in http://my_ip:9090/graph
Here are my configurations:
The rule file
What I got in http://my_ip:9090/graph
from those pictures you can see only data related to VMs(containing the string 'virt') show up, no host data.
What I got in http://my_ip:9103/metrics
Collectd conf
Version
collectd 5.5.2
prometheus, version 0.20.0 (branch: master, revision: aeab25c) build user: root@77050118f904 build date: 20160616-08:38:14 go version: go1.6.2
collectd_exporter, version 0.3.1 (branch: cut-0.3.0, revision: 3abb95c) build user: root@72afd8982c4b build date: 20160606-09:25:21 go version: go1.6.2