Open InvaderDolan opened 3 years ago
I had the same problem, even though I selected the correct source, dashboard was showing random values. Mine solved setting my "Prometheus-1" (the instance monitoring chia-monitor) as the default datasource:
Hey @InvaderDolan, the data source in Grafana needs to point to the Prometheus instance and not to the /metrics
page of the monitor. By default, the Prometheus server will use port 9090
, so yours is probably running on localhost:9090
.
Does changing the Prometheus data source URL in your Grafana to localhost:9090
fix your dashboard?
Hey @InvaderDolan, the data source in Grafana needs to point to the Prometheus instance and not to the
/metrics
page of the monitor. By default, the Prometheus server will use port9090
, so yours is probably running onlocalhost:9090
.Does changing the Prometheus data source URL in your Grafana to
localhost:9090
fix your dashboard?
Thank you for you answer. But I reinstalled grafana, tried everything from zero and then did your steps. I still have configured prometheus.yaml
as before and tried http://localhost:9090
but now I get an error "Bad Gateway"
and there is nothing now at all on this address. But 8000
and 8000/metrics
still show some values.
What did I do wrong? Thank you for your attention.
Hi. I have installed chia monitor as written in README. I am using Ubuntu 20.04 LTS.
Then I installed Grafana 8 (also tried Grafana 7.5.10) and Prometheus. Changed
prometheus.yml
as instructed:Launched Grafana at
localhost:3000
, imported dashboard, set data source as Prometeus and entered URL:http://localhost:8000/metrics
and also triedhttp://localhost:8000
. Also, I tried bothAccess
settings:Server
andBrowser
.At the end, I get the random useless values. Here are 3 screenshots within 30 sec.