johrstrom/jmeter-prometheus-plugin

Distributed Setup - Inappropriate calculation of Percentile Values

kaushal-potdar opened this issue · 1 comments

Since in this setup only the slave machines send metrics to the prometheus directly, each slave machine will send its own percentile values and taking an average of the percentile from multiple instances don't make sense.

Is there a way , we can send the data to prometheus only from Controller and not from any slave machines ? This will save lot of network activity too and also create reliable %-tile calculations which at the moment isn't done properly.

I'm not sure with the way JMeter works. When it creates a worker, it sends the testplan over to it and through the test plan the worker creates a bunch of classes (one of them being this class).

I don't know if the same classes are instantiated on the controller itself. We may be able to toggle where to boot the server if we knew we were on the controller instance, it's just a question of how to figure that out.