Bug 61121 - InfluxdbBackendListenerClient: Only all percentiles are sent, not KO and OK
Summary: InfluxdbBackendListenerClient: Only all percentiles are sent, not KO and OK
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 3.2
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-24 14:02 UTC by Brahma
Modified: 2017-05-27 14:23 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brahma 2017-05-24 14:02:06 UTC
There is a difference in the statistics collected with the backend listener between:
1) GraphiteBackendListenerClient
2) InfluxdbBackendListenerClient

In both cases I am sending the data to an InfluxDB. With Graphite, the database shows statistics such as pct90, pct95, etc. for both "ok" and "ko". However, when I use the InfluxdbBackendListenerClient, I only get those stats for 'where "statut" =~ /all/'. 

We use Grafana to plot 90th percentile response time for "successful" transactions. If I switch to InfluxdbBackendListenerClient, I lose that ability. I would have to show that stat for all transactions (successful and unsuccessful).

Is there a way to the missing statistics or am I doing something wrong here?

Thanks.
Comment 1 mchassagneux 2017-05-24 14:27:51 UTC
Hi, 

I've check the code and only percentil are send for 'all' statut. It's not a problem from you. 
I will push a fix for that in the next release.
Comment 2 Philippe Mouawad 2017-05-27 14:23:31 UTC
Author: pmouawad
Date: Sat May 27 14:23:12 2017
New Revision: 1796400

URL: http://svn.apache.org/viewvc?rev=1796400&view=rev
Log:
Bug 61121 - InfluxdbBackendListenerClient: Only all percentiles are sent, not KO and OK
Rename constants to make code clearer and to use English
Rename statut= to status=
Bugzilla Id: 61121

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
    jmeter/trunk/xdocs/changes.xml