diff --git a/src/components/src/main/java/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java b/src/components/src/main/java/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java index 86bbd2896cc..9ceac2fa64c 100644 --- a/src/components/src/main/java/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java +++ b/src/components/src/main/java/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java @@ -45,7 +45,7 @@ /** * Implementation of {@link AbstractBackendListenerClient} to write in an InfluxDB using - * custom schema + * custom schema; since JMeter 5.2, a implementation also support the InfluxDB 2. * * @since 3.2 */ diff --git a/xdocs/images/screenshots/backend_listener_influxdb_v2.png b/xdocs/images/screenshots/backend_listener_influxdb_v2.png new file mode 100644 index 00000000000..ca8cf673fef Binary files /dev/null and b/xdocs/images/screenshots/backend_listener_influxdb_v2.png differ diff --git a/xdocs/usermanual/component_reference.xml b/xdocs/usermanual/component_reference.xml index bbbbd5da1a8..b16a25405da 100644 --- a/xdocs/usermanual/component_reference.xml +++ b/xdocs/usermanual/component_reference.xml @@ -3425,8 +3425,8 @@ By default, a Graphite implementation is provided.
Grafana dashboard
-

Since JMeter 3.2, a new implementation has been added that allows writing directly in InfluxDB with a custom schema, it is called InfluxdbBackendListenerClient - The following parameters apply to the InfluxdbBackendListenerClient implementation:

+

Since JMeter 3.2, a new implementation has been added that allows writing directly in InfluxDB with a custom schema, it is called InfluxdbBackendListenerClient. Since JMeter 5.2, the InfluxdbBackendListenerClient supports both InfluxDB v1 and v2.

+

The following parameters apply to the InfluxdbBackendListenerClient implementation:

org.apache.jmeter.visualizers.backend.influxdb.HttpMetricsSender @@ -3444,7 +3444,9 @@ By default, a Graphite implementation is provided. List must be semicolon separated. Generally 3 or 4 values should be sufficient. You can add as many custom tags as you want. For each of them, just create a new line and prefix its name by "TAG_" -

See also Real-time results and Influxdb annotations in Grafana for more details.

+

See also Real-time results and Influxdb annotations in Grafana for more details. + There is also a documentation how to configure listener with InfluxDB 2. +

^ diff --git a/xdocs/usermanual/realtime-results.xml b/xdocs/usermanual/realtime-results.xml index 4ad56d4d0bf..679f4d669f7 100644 --- a/xdocs/usermanual/realtime-results.xml +++ b/xdocs/usermanual/realtime-results.xml @@ -158,6 +158,20 @@ Installation and configuration is very easy, read this for more details Grafana.

+ +

+ The configuration should specify the influxdbToken parameter and also specify bucket and org as a query parameters in the influxdbUrl. Read this for more detail InfluxDB v2 API. +

+

+ How to retrieve a required information in the InfluxDB UI: +

+

+
InfluxDB 2 configuration
+