Tried the scaling out script for running gatling in distributed mode and it was really going well.
I have a challenge now to collect the gatling metrics from all the load generators machines to a single InfluxDB. I have defined the graphite section as necessary to take the influxDB host to push the data to but for some reason I am not seeing the metrics from all the load generators instead seeing the metrics in grafana only for one load generator.
Can you please help me understand if i am missing something here. Guide me how i can push the gatling metrics from all my load generators to a single influxDB.
First make sure your graphite protocol entries should be same in all injectors.
#light = false # only send the all* stats
#host = “xx.xxx.xx.xxx” # The host where the Carbon server is located
#port = 2003 # The port to which the Carbon server listens to (2003 is default for plaintext, 2004 is default for pickle)
#protocol = “tcp” # The protocol used to send data to Carbon (currently supported : “tcp”, “udp”)
#rootPathPrefix = “gatling” # The common prefix of all metrics sent to Graphite
#bufferSize = 8192 # Internal data buffer size, in bytes
#writePeriod = 1 # Write period, in seconds
Give different call name for each of the injectors Gatling scenario.
Check all your injectors data is availablein InfluxDB
All above 3 are validated, setup your Grafana metrics for showing metrics for each of injectors data.