Skip to content

Add support for InfluxDB 2.X (loader and query runner)#285

Open
JoaoNovais181 wants to merge 6 commits into
timescale:masterfrom
JoaoNovais181:master
Open

Add support for InfluxDB 2.X (loader and query runner)#285
JoaoNovais181 wants to merge 6 commits into
timescale:masterfrom
JoaoNovais181:master

Conversation

@JoaoNovais181
Copy link
Copy Markdown

Summary

This PR adds support for benchmarking InfluxDB 2.x using TSBS. It includes:

  • tsbs_load_influx_2: Loader for InfluxDB 2.X using the v2 HTTP API with token-based authentication
  • tsbs_run_queries_influx_2: Query runner using the v2 Query API, with Flux.
  • influx_2 modules in tsbs_generate_queries: Supports devops and iot use cases with Flux query formats.

New CLI Flags

For tsbs_load_influx_2:

  • --token: InfluxDB 2.X API token
  • --org: InfluxDB Organization

For tsbs_run_queries_influx_2:

  • --token: InfluxDB 2.X API token
  • --org: InfluxDB Organization

Notes

  • Currently supports Flux query language.
  • All functionality modeled after existing InfluxDB 1.x implementations for consistency.
  • New packages located under cmd/tsbs_load_influx_2, cmd/tsbs_run_queries_influx_2, and cmd/tsbs_generate_queries/databases/influx_2/.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 29, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants