vegeta
vegeta copied to clipboard
Prometheus + Grafana Integration not working
Version and Runtime
Version: 12.11.1
Commit:
Runtime: go1.21.3 darwin/arm64
Date: 2023-10-02T09:03:39Z
Expected Behaviour
echo "GET http://localhost/" | vegeta attack -duration=15m -prometheus-addr 0.0.0.0:9090
command works fine. I can see the prometheus stats in the browser. But the Grafana integration is failing.
Actual Behaviour
While trying to add Prometheus data source in Grafana showing below error.
Steps to Reproduce
- Install vegeta
- Install grafana
- Run vegeta w/ prometheus flag
- Add prometheus datasource in Grafana
Additional Context
grafana version 10.2.0
That seems like an issue between Grafana and Prometheus. Or am I misunderstanding?
Yes, that's correct. I reinstalled everything starting from scratch. Started the test in vegeta. But the dashboard is blank.
But the Grafana dashboard looks empty.
Prometheus data source
It seems that adding the -prometheus-addr is not pushing any data to prometheus, I wonder why would that be.