Gatling Group Results not sent to Graphite/InfluxDB

895 views
Skip to first unread message

rbrc...@gmail.com

unread,
Nov 16, 2015, 6:45:33 PM11/16/15
to Gatling User Group

Hi:


I am in need to use InfluxDB/Grafana to monitor and record the load and performance testing results we are doing with Gatling.

 

Being able to aggregate the results of group of requests with the Group() function in Gatling is very helpful for our needs.

 

However, I noticed that these group calculations that are available in Simulation.Log are not sent/stored to InfluxDB by Gatling.

 

Is there a particular configuration I need to do in Gatling in order to record those results in InfluxDB as well?

 

I am assuming that after each group of request finishes an execution, Gatling will make the corresponding group calculation for each user session, rather than waiting after the simulation is over to make those calculations.

(So, if I have a simulation with 5 users, I will get 5 set of values to plot in InfluxDB/Grafana)

 

I will appreciate if you can provide more information regarding when Group calculations are computed in relation to the overall simulation and if there is a newer Gatling version that sends the Group metrics to Graphite/InfluxDB.

 

Rene

 

Example of Group calculations from Simulation.Log that I need to plot in InfluxDB/Grafana:

 

batchupdate      7936755033588976644-0                GROUP BatchUpdate,CommitG 1447634202818  1447634206468  3635                15           0              OK

batchupdate      7936755033588976644-0                GROUP BatchUpdate     1447634196232  1447634206469  6177       27                0              OK

batchupdate      7936755033588976644-0                GROUP Logout  1447634206471  1447634206799  322         9              0                OK

Stéphane LANDELLE

unread,
Nov 17, 2015, 4:10:26 AM11/17/15
to gat...@googlegroups.com
Groups are not reported there.

Stéphane Landelle
GatlingCorp CEO


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

adrian...@hushmail.com

unread,
Nov 17, 2015, 5:24:10 AM11/17/15
to gat...@googlegroups.com
Could you not aggregate your chosen metrics through Grafana to InfluxDB SQL queries and create an alias? 

Rob Gates

unread,
Aug 2, 2016, 2:32:08 PM8/2/16
to Gatling User Group
Stephane - is there any update on this?

Am also in need of tracking average group durations in grafana.

Any pointers where to start if I wanted to look at doing a pull request?

Stéphane LANDELLE

unread,
Aug 2, 2016, 4:25:00 PM8/2/16
to gat...@googlegroups.com
No, no update from our side.
We won't bring ourselves more stats and more reporting features on the open source side of the project. What you want is already available in FrontLine.
Then, if that's something you end up contributing, we will then ship it.

Regards,

Stéphane Landelle
GatlingCorp CEO


adam.a...@pearson.com

unread,
Jan 20, 2017, 8:34:56 AM1/20/17
to Gatling User Group
Hi,

if you want to report requests sent within group, you must add another template in your influxdb.conf file:

templates = [
  # Non-grouped requests
  "gatling.*.*.*.count measurement.simulation.request.status.field",
  "gatling.*.*.*.min measurement.simulation.request.status.field",
  "gatling.*.*.*.max measurement.simulation.request.status.field",
  "gatling.*.*.*.percentiles50 measurement.simulation.request.status.field",
  "gatling.*.*.*.percentiles75 measurement.simulation.request.status.field",
  "gatling.*.*.*.percentiles95 measurement.simulation.request.status.field",
  "gatling.*.*.*.percentiles99 measurement.simulation.request.status.field",

  # Grouped requests
  "gatling.*.*.*.*.count measurement.simulation.group.request.status.field",
  "gatling.*.*.*.*.min measurement.simulation.group.request.status.field",
  "gatling.*.*.*.*.max measurement.simulation.group.request.status.field",
  "gatling.*.*.*.*.percentiles50 measurement.simulation.group.request.status.field",
  "gatling.*.*.*.*.percentiles75 measurement.simulation.group.request.status.field",
  "gatling.*.*.*.*.percentiles95 measurement.simulation.group.request.status.field",
  "gatling.*.*.*.*.percentiles99 measurement.simulation.group.request.status.field"
]


I had to also remove existing gatlingdb database and restart influxdb for this to work :)

Good luck and thanks for the Gatling Tool!

Adam

adrian...@hushmail.com

unread,
Jan 20, 2017, 10:06:02 AM1/20/17
to gat...@googlegroups.com
You'd maybe able to reduce your InfluxDB template with something like this:

# Non-grouped requests
"gatling.*.*.*.* measurement.simulation.request.status.field"

Aidy

Vishal Kadam

unread,
Mar 6, 2017, 1:18:23 PM3/6/17
to Gatling User Group
This will only work for first group, what about nested groups?
Reply all
Reply to author
Forward
0 new messages