Hi, We made some progress by not using a backend listener client which is executed only on the client instance but by implementing the remotable interface in order to run the exporter in server instances. We are now able to gather metrics from all server instances from prometheus.
On Thu, Jun 29, 2017, 10:17 Antonio Gomes Rodrigues <[email protected]> wrote: > Hi, > > Have you seen > > https://jmeter.apache.org/api/org/apache/jmeter/visualizers/backend/BackendListenerClient.html > & https://github.com/apache/jmeter/pull/246 ? > > Philippe & max3163, can you help him? > > Antonio > > 2017-06-27 16:20 GMT+02:00 Giovanni Paolo Gibilisco <[email protected]>: > > > I've modified the implementation of the exporter in order to run as a > > Backend Listener but when running in the remote configuration the > listnere > > is only run on the "Client" instance, not on the "Server" generating the > > load. > > > > Is there a way to run listeners on "Server" nodes? > > > > You can have a look at the code here: > > https://github.com/johrstrom/jmeter-prometheus-plugin/tree/ > > backend-listener > > PrometheusBackendListener class.s > > > > 2017-06-27 12:31 GMT+02:00 Giovanni Paolo Gibilisco <[email protected]>: > > > > > Ok, > > > I'm looking at those implementations. Should I keep building a plugin > or > > > it is better to fork jmeter and build it there? > > > > > > 2017-06-27 11:23 GMT+02:00 Antonio Gomes Rodrigues <[email protected]>: > > > > > >> Hi, > > >> > > >> Check Backend Listener > > >> https://jmeter.apache.org/usermanual/component_reference. > > >> html#Backend_Listener > > >> > > >> We have already a Graphite and a InfluxDB listener. > > >> > > >> In my opinion, you can add another custom implementation to use > > Prometheus > > >> > > >> Antonio > > >> > > >> 2017-06-26 23:06 GMT+02:00 Giovanni Paolo Gibilisco < > [email protected] > > >: > > >> > > >> > Hi, > > >> > I'm contributing to a jmeter exporter for prometheus. In order to > > gather > > >> > metrics from a distributed run we would like to run the exporter on > > all > > >> the > > >> > server instances and use prometheus feature to gather results. In > > such a > > >> > way we can offload jmeter from sending back the results to the > maseter > > >> and > > >> > also analyze there result of the loadtest divided by each server > > >> instance. > > >> > > > >> > As far as I understand listeners are not run on server node but only > > in > > >> the > > >> > client. Is that correct? is there a way to run them also on server > > >> > instances? > > >> > > > >> > > > > > > > > >
