Gatling 2 Graphite related error

I’m seeing this from console, i guess the graphite module has a minor bug about decimals

[ERROR] [01/30/2014 00:02:31.713] [GatlingSystem-akka.actor.default-dispatcher-6] [akka://GatlingSystem/user/$sb/$a] Can’t compute 100th quantile
java.lang.IllegalArgumentException: Can’t compute 100th quantile
at io.gatling.metrics.types.Metrics.getQuantileRec$1(RequestMetrics.scala:88)
at io.gatling.metrics.types.Metrics.getQuantile(RequestMetrics.scala:91)
at io.gatling.metrics.GraphiteDataWriter$GraphiteSender.sendMetrics$1(GraphiteDataWriter.scala:114)
at io.gatling.metrics.GraphiteDataWriter$GraphiteSender.io$gatling$metrics$GraphiteDataWriter$GraphiteSender$$sendRequestMetrics$1(GraphiteDataWriter.scala:123)
at io.gatling.metrics.GraphiteDataWriter$GraphiteSender.io$gatling$metrics$GraphiteDataWriter$GraphiteSender$$sendMetricsToGraphite(GraphiteDataWriter.scala:133)
at io.gatling.metrics.GraphiteDataWriter$GraphiteSender$$anonfun$receive$1.applyOrElse(GraphiteDataWriter.scala:88)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498)
at akka.actor.ActorCell.invoke(ActorCell.scala:456)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237)
at akka.dispatch.Mailbox.run(Mailbox.scala:219)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Were you the one who set up a 100th percentile to be computed?
100th percentile doesn’t make sense, it’s supposed to be a value < 100.

my graphite conf settings are just normal:

graphite {
light = false # only send the all* stats
host = “xxxx.amazonaws.com
port = 2003
protocol = “tcp” # Choose between ‘tcp’ or ‘udp’
#rootPathPrefix = “gatling”
bucketWidth = 100
bufferSize = 8192
}

anything wrong with this?

在 2014年1月30日星期四UTC-8上午12时43分50秒,Stéphane Landelle写道:

The percentiles are not defined here: https://github.com/excilys/gatling/blob/master/gatling-core/src/main/resources/gatling-defaults.conf#L57-L58

Did you change those?

no, it is default:

charting {
#noReports = false
#statsTsvSeparator = “\t”
#maxPlotPerSeries = 1000
#accuracy = 10 # in ms
indicators {
#lowerBound = 800 # in ms
#higherBound = 1200 # in ms
#percentile1 = 95 # in percents
#percentile2 = 99 # in percents
}

在 2014年1月30日星期四UTC-8上午9时30分05秒,Stéphane Landelle写道:

I think I’ve fixed it: https://github.com/excilys/gatling/issues/1622

Cheers,

Stéphane

i will give it a try. Thanks for fixing this.

在 2014年1月30日星期四UTC-8上午10时07分16秒,Stéphane Landelle写道: