InfluxDB ​
InfluxDB is an open source time series platform. This includes APIs for storing and querying data, processing it in the background for ETL or monitoring and alerting purposes, user dashboards, and visualizing and exploring the data and more.
Syntax ​
json
{
"name": "influx",
"inputs": {
"url": "<influx-url>",
"db": "PerfTestResults"
}
}
url
(string) - influxdb urlversion?
(string) - version of the database | v1 or v2db
(string) - name of the databaseusername?
(string) - username to access databasepassword?
(string) - password to access databaseorg?
(string) - name of the organizationbucket?
(string) - name of the buckettoken?
(string) - auth tokenmeasurement_perf_run?
(string) - performance run measurement name - Defaults toPerfRun
measurement_perf_transaction?
(string) - performance transaction measurement name - Defaults toPerfTransaction
measurement_test_run?
(string) - test run measurement name - Defaults toTestRun
measurement_test_suite?
(string) - test suite measurement name - Defaults toTestSuite
measurement_test_case?
(string) - test case measurement name - Defaults toTestCase
tags?
(object) - custom key-value pair tags to addfields?
(object) - custom key-value pair tags to add
Examples ​
Sample config file.
json
{
"targets": [
{
"name": "influx",
"inputs": {
"url": "<influx-url>",
"db": "TestResults",
"tags": {
"Team": "QA",
"Product": "PactumJS"
}
}
}
],
"results": [
{
"type": "testng",
"files": [
"path/to/testng-results.xml"
]
}
]
}