johrstrom / jmeter-prometheus-plugin

A Prometheus Listener for Apache JMeter that exposes results in an http API
Apache License 2.0
164 stars 109 forks source link

Prometheus is not able to capture jmeter stats from slave machines #111

Closed Sravanthi0614 closed 1 year ago

Sravanthi0614 commented 1 year ago

HI ,

I have integrated jmeter and prometheus using plugin jar 0.6.0 . During the test, jmeter summary file is capturing all the stats from the master and slave machine in master machine but prometheus is capturing the stats only from jmeter master. Added Prometheus Listener. I have configured the Jmeter-prometheus plugin in Master and slave machines and all the machines have Jmeter version 5.4.1 and jmeter-prometheus-plugin-0.6.0.jar

Kindly let me know how to get the jmeter stats from slave machines on prometheus.

johrstrom commented 1 year ago

Be sure to have prometheus scrape from all the minion instances too. You may have it only set to scrape the main instance.

Sravanthi0614 commented 1 year ago

Working as expected after configuring in slave machines