error on grafana

1,273 views
Skip to first unread message

GROUP TMS

unread,
Nov 15, 2022, 1:59:11 AM11/15/22
to Prometheus Users
i need support install data sources error "Error reading Prometheus: bad_response: readObjectStart: expect { or n, but found <, error found in #1 byte of ...|<html> <|..., bigger context ...|<html> <head><title>Node Exporter</title></head>|..."

Brian Candler

unread,
Nov 15, 2022, 2:39:35 AM11/15/22
to Prometheus Users
You didn't say what URL you put in for the data source.  But based on the error, I'm guessing that you've pointed the URL at an instance of node_exporter, not an instance of prometheus.

That is, I think you put:  http://127.0.0.1:9100   # the port which node_exporter listens on

If so, you should have put: http://127.0.0.1:9090   # the port which prometheus listens on
Reply all
Reply to author
Forward
0 new messages