This is an automated email from the ASF dual-hosted git repository. fschumacher pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jmeter.git
commit 442d27e0c8cf2b10da37ba8c18ea98084c71e9d1 Author: Victor Peralta <[email protected]> AuthorDate: Mon Mar 6 00:51:20 2023 +0100 add new threadName tag to InfluxDBRawBackendListener --- .../backend/influxdb/InfluxDBRawBackendListenerClient.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/src/main/java/org/apache/jmeter/visualizers/backend/influxdb/InfluxDBRawBackendListenerClient.java b/src/components/src/main/java/org/apache/jmeter/visualizers/backend/influxdb/InfluxDBRawBackendListenerClient.java index 477a25a50a..0e781ce610 100644 --- a/src/components/src/main/java/org/apache/jmeter/visualizers/backend/influxdb/InfluxDBRawBackendListenerClient.java +++ b/src/components/src/main/java/org/apache/jmeter/visualizers/backend/influxdb/InfluxDBRawBackendListenerClient.java @@ -122,8 +122,10 @@ public class InfluxDBRawBackendListenerClient implements BackendListenerClient { // remove surrounding quotes and spaces from sample label String label = StringUtils.strip(sampleResult.getSampleLabel(), "\" "); String transaction = AbstractInfluxdbMetricsSender.tagToStringValue(label); + String threadName = StringUtils.deleteWhitespace(sampleResult.getThreadName()); return "status=" + status - + ",transaction=" + transaction; + + ",transaction=" + transaction + + ",threadName=" + threadName; } private String createFields(SampleResult sampleResult) {
