InfluxDB Target Reference
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 toPerfRunmeasurement_perf_transaction?(string) - performance transaction measurement name - Defaults toPerfTransactionmeasurement_test_run?(string) - test run measurement name - Defaults toTestRunmeasurement_test_suite?(string) - test suite measurement name - Defaults toTestSuitemeasurement_test_case?(string) - test case measurement name - Defaults toTestCasetags?(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"
]
}
]
}