Reputation: 137
How can I use Prometheus database for Jmeter live reporting ?. I want to execute Jmeter in Non GUI mode and get live reporting in Grafana using prometheus as a database..
Upvotes: 8
Views: 5884
Reputation: 382
Here are the steps to follow
1. Download the source code from https://github.com/johrstrom/jmeter-prometheus-plugin and build it using "maven clean package"
.
2. Two jar files will be generated in target folder copy them and keep it in JMeter lib/ext folder.
3. Open JMeter, to your thread group add Prometheus Listener which will be in Listener.
4. Run JMeter and metrics will be rendered on http://localhost:9270/metrics
Upvotes: 8