add detail to configure JMeter

pull/1044/head
Kelly 2020-05-15 15:04:05 -07:00
parent eeb875be0f
commit 9a0c6285aa
1 changed files with 21 additions and 1 deletions

View File

@ -266,7 +266,27 @@ See the _[InfluxDB Persistence Readme](https://github.com/openhab/openhab-addons
#### Configure Apache JMeter
See the _[Apache JMeter User's Manual - JMeter configuration](https://jmeter.apache.org/usermanual/realtime-results.html#jmeter-configuration)_ for details.
<!-- after doc updates are made, we can simplify to: See the _[Apache JMeter User's Manual - JMeter configuration](https://jmeter.apache.org/usermanual/realtime-results.html#jmeter-configuration)_ for details. -->
To configure Apache JMeter, complete the following steps in InfluxDB and JMeter.
##### In InfluxDB
1. [Find the name of your organization](https://v2.docs.influxdata.com/v2.0/organizations/view-orgs/) (needed to create a bucket and token).
2. [Create a bucket using the influx CLI](https://v2.docs.influxdata.com/v2.0/organizations/buckets/create-bucket/#create-a-bucket-using-the-influx-cli) and name it `jmeter`.
3. [Create a token](https://v2.docs.influxdata.com/v2.0/security/tokens/create-token/).
##### In JMeter
1. Create a [Backend Listener](https://jmeter.apache.org/usermanual/component_reference.html#Backend_Listener) using the _InfluxDBBackendListenerClient_ implementation.
2. In the **Backend Listener implementation** field, enter _org.apache.jmeter.visualizers.backend.influxdb.influxdbBackendListenerClient_
3. Under **Parameters**, specify the following:
- **influxdbMetricsSender**: _org.apache.jmeter.visualizers.backend.influxdb.HttpMetricsSender_
- **influxdbUrl**: _http://localhost:9999/api/v2/write?org=my-org&bucket=jmeter_ (include the bucket and org you created in InfluxDB)
- **application**: _InfluxDB2_
- **influxdbToken**: _my-token_ (include the token you created in InfluxDB)
- Include additional parameters as needed.
4. Click **Add** to add the _InfluxDBBackendListenerClient_ implementation.
#### Configure FluentD