jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmouawad <...@git.apache.org>
Subject [GitHub] jmeter pull request #321: [Influxdb] Allow users to add theirs owns tags
Date Mon, 06 Nov 2017 16:43:03 GMT
Github user pmouawad commented on a diff in the pull request:

    https://github.com/apache/jmeter/pull/321#discussion_r149132449
  
    --- Diff: src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
---
    @@ -318,6 +335,13 @@ public void setupTest(BackendListenerContext context) throws Exception
{
                     }
                 }
             }
    +        // Check if more fields are filled ( corresponding to user tag )
    +        context.getParameterNamesIterator().forEachRemaining(name->{
    +            if ( !defaultArg.containsKey(name)) {
    +                TAG_USER += "," + AbstractInfluxdbMetricsSender.tagToStringValue(name.trim())
+ "=" + AbstractInfluxdbMetricsSender.tagToStringValue(context.getParameter(name).trim());
    --- End diff --
    
    Add some logging here to debug in case of issue


---

Mime
View raw message