jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1827633 - in /jmeter/trunk: src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java xdocs/changes.xml
Date Sat, 24 Mar 2018 11:24:46 GMT
Author: pmouawad
Date: Sat Mar 24 11:24:46 2018
New Revision: 1827633

URL: http://svn.apache.org/viewvc?rev=1827633&view=rev
Log:
Bug 62203 - Influxdb BackendListener client: store user tags to annotation and internal transaction
Contributed by Sergey Batalin
Bugzilla Id: 62203

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

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java?rev=1827633&r1=1827632&r2=1827633&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
Sat Mar 24 11:24:46 2018
@@ -152,9 +152,10 @@ public class InfluxdbBackendListenerClie
 
         UserMetric userMetrics = getUserMetrics();
         // For JMETER context
-        StringBuilder tag = new StringBuilder(60);
+        StringBuilder tag = new StringBuilder(80);
         tag.append(TAG_APPLICATION).append(application);
         tag.append(TAG_TRANSACTION).append("internal");
+        tag.append(userTag);
         StringBuilder field = new StringBuilder(80);
         field.append(METRIC_MIN_ACTIVE_THREADS).append(userMetrics.getMinActiveThreads()).append(',');
         field.append(METRIC_MAX_ACTIVE_THREADS).append(userMetrics.getMaxActiveThreads()).append(',');
@@ -414,7 +415,7 @@ public class InfluxdbBackendListenerClie
      */
     private void addAnnotation(boolean startOrEnd) {
         influxdbMetricsManager.addMetric(EVENTS_FOR_ANNOTATION, 
-                TAG_APPLICATION + application + ",title=ApacheJMeter"+
+                TAG_APPLICATION + application + ",title=ApacheJMeter"+ userTag +
                 (StringUtils.isNotEmpty(testTags) ? TAGS+ testTags : ""), 
                 TEXT +  
                         AbstractInfluxdbMetricsSender.fieldToStringValue(testTitle +

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1827633&r1=1827632&r2=1827633&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Sat Mar 24 11:24:46 2018
@@ -161,6 +161,7 @@ this behaviour, set <code>httpclient.res
 <h3>Listeners</h3>
 <ul>
   <li><bug>62097</bug>Update JTable in Aggregate Report only when new data
has arrived. That way selections of rows will be kept longer around.</li>
+  <li><bug>62203</bug>Influxdb BackendListener client: store user tags
to annotation and internal transaction. Contributed by Sergey Batalin (sergey_batalin at mail.ru)</li>
 </ul>
 
 <h3>Timers, Assertions, Config, Pre- &amp; Post-Processors</h3>
@@ -207,6 +208,7 @@ this behaviour, set <code>httpclient.res
     <li>Olaf Flebbe (oflebbe at apache.org)</li>
     <li>Peter Doornbosch (peter.doornbosch at luminis.eu)</li>
     <li>logox01 (logox01 at gmx.at)</li>
+    <li>Sergey Batalin (sergey_batalin at mail.ru)</li>
 </ul>
 <p>We also thank bug reporters who helped us improve JMeter.</p>
 <p>



Mime
View raw message