So I kind of answered my own question, which then leads to the next. I
installed the Ruby CLI for Influxdb. I connected into the jmeter database and
ran the following command...
db.query('SELECT * FROM /.*/ LIMIT 1').keys
This returns nothing, which I believe means that JMeter isn't writing anything
to the InfluxDB "jmeter" database. What am I doing wrong? I also enabled the
JMeter log and when I run the test, I don't see any errors (did at first with
an error on connection to graphite host when I had the config wrong).
Here's my setup.
JMeter 2.13InfluxDB 0.8.8
JMeter Test Script:Added Backend Listener with settings
| graphiteMetricsSender |
org.apache.jmeter.visualizers.backend.graphite.TextGraphiteMetricsSender |
| graphiteHost | xxx-xxx-xxx.com |
| graphitePort | 2003 |
| rootMetricsPrefix | jmeter. |
| summaryOnly | true |
| samplersList | GetPlaycount |
| percentiles | 90;95;99 |
InfluxDB Configuration:
[input_plugins.graphite]
enabled = true
address = "0.0.0.0" # If not set, is actually set to bind-address.
port = 2003
database = "jmeter" # store graphite data in this database
# udp_enabled = true # enable udp interface on the same port as the tcp
interface
From: Glenn Caccia <[email protected]>
To: JMeter Users List <[email protected]>
Sent: Wednesday, April 8, 2015 12:25 PM
Subject: checking data in influxdb
I'm trying to get setup with InfluxDB and Grafana with JMeter. I wanted to
try Grafana 2.0 (beta), but its configuration is different than the older
version that JMeter has documentation for and I've not gotten it to work yet.
I wanted to at least confirm that the InfluxDB part is working correctly and
would like to run a query to confirm that data made it in from a test run.
What is the data structure for the JMeter DB? That is, if I write a query for
"select * from ????, what is ????. I don't know if these are called tables or
something else, but basically, what structure is created in the JMeter
database? Into what structure are run results saved?