PerfMon - Support of getting metrics to InfluxDB/Graphite ?

1,176 views
Skip to first unread message

Ivan Mitev

unread,
May 5, 2015, 7:15:36 AM5/5/15
to jmeter-...@googlegroups.com
Hi, as the latest version of JMeter 2.13 has implementation for dumping results in http://jmeter.apache.org/usermanual/realtime-results.html I wonder if there are plans to support this for the system metric gathered by PerfMon, too?


Cheers

Andrey Pokhilko

unread,
May 5, 2015, 9:59:41 AM5/5/15
to jmeter-...@googlegroups.com
Hi,

Like stackoverflow answer explains, PerfMon does not send its data into InfluxDB/Graphite. And I see no sense to implement this, because there are much better alternatives like collectd, zabbix and many-many others. 

--
Andrey

вторник, 5 мая 2015 г., 14:15:36 UTC+3 пользователь Ivan Mitev написал:

Ivan Mitev

unread,
May 5, 2015, 10:12:33 AM5/5/15
to jmeter-...@googlegroups.com
Actually I think it might be a nice-to-have feature, mainly because it would make easier the adoption of  InfluxDB/Graphite by existing JMeter + PerfMon users. The nice things about it are:
- Would work out-of-the-box without need to install and setup other metric collection tools (the Sigar-based client works everywhere, while collectd doesn't support Windows). JMeter users would already know how to setup the PerfMon collection.
- Metrics collection is automatically started/stopped upon performance test start/completion.

Cheers

Andrey Pokhilko

unread,
May 6, 2015, 8:35:19 AM5/6/15
to jmeter-...@googlegroups.com
Okay, feel free to suggest implementation for that. Hopefully one that will reuse existing code to interact with InfluxDB/Graphite. 

--
Andrey

вторник, 5 мая 2015 г., 17:12:33 UTC+3 пользователь Ivan Mitev написал:

Ivan Mitev

unread,
May 7, 2015, 12:45:22 AM5/7/15
to jmeter-...@googlegroups.com
OK,

About reusing the code for sending data to a time-series backend that support the graphite protocol, the source file is "\src\components\org\apache\jmeter\visualizers\backend\graphite\GraphiteBackendListenerClient.java"
I am not sure if/how within the code of the PerfMon section there is access to the "Backend Listener" section in a thread group (I am quite new to JMeter), but if it does, it might be best to read the InfluxDB/Graphite connection parameters from there (instead of creating another configuration). 

The new time series could use the following naming schema "metrics.<server>.<metricName>", since it makes sense to have a single time series for a particular metric, gathered on a particular server.

Is anyone interested in implementing this? Or is it expected that such ideas for extensions come in the form of a pull request? :)

Cheers

nede...@gmail.com

unread,
Jul 14, 2016, 8:51:12 AM7/14/16
to jmeter-plugins
Collectd works perfect on linux. 
However it's not so easy to get perfmon metrics to influxdb from windows servers. 
But it would be nice to have smth built in to jmeter :)

вторник, 5 мая 2015 г., 14:15:36 UTC+3 пользователь Ivan Mitev написал:
Hi, as the latest version of JMeter 2.13 has implementation for dumping results in http://jmeter.apache.org/usermanual/realtime-results.html I wonder if there are plans to support this for the system metric gathered by PerfMon, too?

ross....@gmail.com

unread,
Oct 3, 2016, 6:29:46 PM10/3/16
to jmeter-plugins, nede...@gmail.com
Any update on this?

I would dearly love to be able to send the perfmon stats via the backend listener into Grafana/influxDB....

It can't be that hard surely?

:)

jeremy....@gmail.com

unread,
Mar 31, 2017, 8:08:16 PM3/31/17
to jmeter-plugins, nede...@gmail.com, ross....@gmail.com
You might have found this already, but check out telegraf, which basically grabs perfmon stats and sends them to influxdb.  Here is a great post about it:

Reply all
Reply to author
Forward
0 new messages