How to setup grafana for the chirpstack-simulator?

Dear community.

I try to setup the chirpstack-simulator to put an embedded device, running the chirpstack network server, under stress. The simulator works fine, but I get stuck with the parametrization of grafana.

As far as I found out, the simulator starts an own prometheus instance.
Trying “curl http://localhost:9090/metrics” I get back the metrics of the simulator.
When I want to use grafana I don’t know how to setup the database connection.


I tried anything with URL and Access. But either I get back a Network error or a Page not found error.
Some ideas what’s my mistake?

Thanks in advance.

As far as I found out, the simulator starts an own prometheus instance.

This is not correct. The endpoint provides metrics to Prometheus. You need to setup Prometheus first to scrape these metrics.

Hi brocaar.
I will check this, but I’m wondering because every time I start prometheus and simulator together, the last startet instance says, that the port (9090) is already in use. So it seems to me, that both instances want to start a server. Or do I make a mistake with binding of the simulator? (I’m using the line in your template)