InfluxDB and Grafana

DevWeb measurements can be reported to InfluxDB, and then visualized using dashboard tools like Grafana.

Back to top

Storing data on InfluxDB

LoadRunner Developer can report run data to InfluxDB. You can then use a compatible open-source analytics solution, like Grafana, to visualize the received measurements (see Visualize measurements with Grafana, below).

To enable reporting to InfluxDB, you must update the local version of the config.yml configuration file.

To set up data reporting to InfluxDB:

  1. Install the InfluxDB database.

    Supported InfluxDB versions: InfluxDB 1.x, InfluxDB 2.0

  2. Open the local.config.yml file. If you have not yet created one, refer to the instructions here: LoadRunner Developer configuration
  3. In the measurements section of local.config.yml, update the following parameters:

    Parameter Description
    adapters

    Define one or more database adapters, corresponding to the databases to which data is reported:

    • influxDB. Use for InfluxDB 1.x versions.

    • influxDBV2. Use for InfluxDB version 2.0.

    • sqlite. Use for SQLite

    useProxy Change to true to use the proxy settings from rts.yml to connect.
    runName

    Use this parameter to define a custom name for the data. This provides a way to identify the streamed data reported to InfluxDB, in addition to the time stamp. If no value is defined, the script name is used.

    You can define the runName tag on the command line, it which case it overwrites the value in the local.config.yml file.

  4. In the influxDB or influxDBV2 section of local.config.yml, configure the endpoint and other parameters for the relevant database adapter.

Back to top

Visualize measurements with Grafana

You can use the Grafana dashboard tool to visualize and analyze the results of your DevWeb tests.

 

LoadRunner Developer provides a Grafana dashboard sample that demonstrates how DevWeb measurements, stored in InfluxDB, can be visualized in the Grafana tool. You can download the sample from the AppDelivery Marketplace.

For more details on using InfluxDB in Grafana, and importing a dashboard, refer to the Grafana product documentation.

Back to top

See also: