Closed asfimport closed 7 years ago
@pmouawad (migrated from Bugzilla): Author: pmouawad Date: Sun Jan 15 21:19:52 2017 New Revision: 1778947
URL: http://svn.apache.org/viewvc?rev=1778947&view=rev Log: https://github.com/apache/jmeter/issues/4227 - BackendListener : Add Influxdb BackendListenerClient implementation to JMeter Partly Based on PR 246 from by Logan Mauzaize (logan.mauzaize at gmail.com) and Maxime Chassagneux (maxime.chassagneux at gmail.com).
Fixed following issues in PR:
This closes #246 https://github.com/apache/jmeter/issues/4227
Added: jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/ jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/AbstractInfluxdbMetricsSender.java (with props) jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/HttpMetricsSender.java (with props) jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java (with props) jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbMetricsSender.java (with props) Modified: jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/usermanual/component_reference.xml
@pmouawad (migrated from Bugzilla): Author: pmouawad Date: Sat Jan 21 09:18:49 2017 New Revision: 1779711
URL: http://svn.apache.org/viewvc?rev=1779711&view=rev Log: https://github.com/apache/jmeter/issues/4227 BackendListener : Add Influxdb BackendListenerClient implementation to JMeter. Partly based on <pr>253</pr> by Maxime Chassagneux (maxime.chassagneux at gmail.com). Set timestamp to be able to use AsyncHttpClient Use AsyncHttpClient Allow configuration of Send interval This closes #253 https://github.com/apache/jmeter/issues/4227
Modified: jmeter/trunk/LICENSE jmeter/trunk/bin/jmeter.properties jmeter/trunk/build.properties jmeter/trunk/build.xml jmeter/trunk/eclipse.classpath jmeter/trunk/lib/ (props changed) jmeter/trunk/lib/aareadme.txt jmeter/trunk/res/maven/ApacheJMeter_parent.pom jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/GraphiteBackendListenerClient.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/AbstractInfluxdbMetricsSender.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/HttpMetricsSender.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
@pmouawad (migrated from Bugzilla): Author: pmouawad Date: Sat Jan 21 10:06:30 2017 New Revision: 1779715
URL: http://svn.apache.org/viewvc?rev=1779715&view=rev Log: https://github.com/apache/jmeter/issues/4227 BackendListener : Add Influxdb BackendListenerClient implementation to JMeter. Annotation contained "timestamp in its label Annotation for end of test was not send due to HttpClient being closed before last send was done https://github.com/apache/jmeter/issues/4227
Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/HttpMetricsSender.java
Author: pmouawad Date: Sat Jan 21 10:06:58 2017 New Revision: 1779716
URL: http://svn.apache.org/viewvc?rev=1779716&view=rev Log: https://github.com/apache/jmeter/issues/4227 BackendListener : Add Influxdb BackendListenerClient implementation to JMeter. Restore tag in annotations https://github.com/apache/jmeter/issues/4227
Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
@pmouawad (migrated from Bugzilla): You need to install last Influx DB and Grafana Server. It's pretty straightforward
Created attachment InfluxDB.jmx: Test plan using Mirror Server for people who want to test
@pmouawad (migrated from Bugzilla): Author: pmouawad Date: Wed Jan 25 17:02:57 2017 New Revision: 1780241
URL: http://svn.apache.org/viewvc?rev=1780241&view=rev Log: https://github.com/apache/jmeter/issues/4227 BackendListener : Add Influxdb BackendListenerClient implementation to JMeter. Fix missing httpcore-nio in bundle https://github.com/apache/jmeter/issues/4227
Modified: jmeter/trunk/build.xml
@pmouawad (migrated from Bugzilla): Author: pmouawad Date: Wed Jan 25 22:01:03 2017 New Revision: 1780273
URL: http://svn.apache.org/viewvc?rev=1780273&view=rev Log: https://github.com/apache/jmeter/issues/4227 BackendListener : Add Influxdb BackendListenerClient implementation to JMeter. Fix corruption of ArrayList due to Multi-thread access Fix timestamp which was computed too late https://github.com/apache/jmeter/issues/4227
Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/HttpMetricsSender.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbMetricsSender.java
@pmouawad (migrated from Bugzilla): Author: pmouawad Date: Wed Jan 25 22:17:00 2017 New Revision: 1780277
URL: http://svn.apache.org/viewvc?rev=1780277&view=rev Log: https://github.com/apache/jmeter/issues/4227 BackendListener : Add Influxdb BackendListenerClient implementation to JMeter. Avoid useless instanciation and set capacity https://github.com/apache/jmeter/issues/4227
Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/HttpMetricsSender.java
@pmouawad (Bug 60590): Add a new backend listener to send data to InfluxDB server. InfluxDB is a time series database built to handle high write and query loads.
This backend writes data with the HTTP API based on the influxdb line protocol. See : HTTP API (https://docs.influxdata.com/influxdb/v1.1/guides/writing_data/) Line protocol reference (https://docs.influxdata.com/influxdb/v1.1/write_protocols/line_protocol_reference/)
Syntax example : <measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]
At the start and the end of a JMeter test, the backend automaticaly adds two annotations in the events measurement for a better usage with Grafana ( See grafana documentation http://docs.grafana.org/reference/annotations/#influxdb-annotations)
PR : https://github.com/apache/jmeter/pull/246
OS: All