InfluxDB
Write reporting events and projected metrics into an InfluxDB bucket, with optional measurement separation for metrics.
Reporting
Realtime reporting
Choose the built-in sink page that matches the observability stack your team already uses. Each tab below opens a dedicated page instead of swapping content in place.
When To Use InfluxDB
Use InfluxDB when you want queryable event and metric storage in Influx, often paired with Grafana dashboards for shared team visibility.
What LoadStrike Sends
InfluxDbReportingSink writes reporting events plus projected metrics into the configured bucket. You can keep projected metrics in a separate MetricsMeasurementName when you want event and metric series stored independently.
Configuration Surface
Configure the sink in code or through LoadStrike:ReportingSinks:InfluxDb. Common options include BaseUrl, Organization, Bucket, Token, MeasurementName, MetricsMeasurementName, and StaticTags.
Starter Assets
LoadStrike publishes an InfluxDB datasource YAML, the shared Grafana dashboard-provider YAML, and a matching InfluxDB overview dashboard JSON file.
InfluxDB realtime reporting
Use InfluxDbReportingSink when you want reporting events and projected metrics stored in InfluxDB.
Switch between C#, Java, Python, TypeScript, and JavaScript to see the native SDK shape for this sample.
Licensing note: every runnable sample requires a valid runner key via WithRunnerKey("...") or config key LoadStrike:RunnerKey.
HTML reports include an icon-only Light/Dark theme toggle fixed at the top-right. Default report theme is Light.
InfluxDB Sink
var influxSink = new InfluxDbReportingSink(new InfluxDbReportingSinkOptions
{
BaseUrl = "https://influx.example.com",
Organization = "performance-team",
Bucket = "loadstrike-runs",
Token = "influx-token",
MeasurementName = "loadstrike_orders",
MetricsMeasurementName = "loadstrike_orders_metrics",
StaticTags =
{
["environment"] = "staging",
["service"] = "orders-api"
}
});
LoadStrikeRunner.RegisterScenarios(scenario)
.WithReportingSinks(influxSink)
.WithRunnerKey("rkl_your_local_runner_key")
.Run();
import com.loadstrike.runtime.LoadStrikeRunner;
import com.loadstrike.runtime.LoadStrikeSinks;
var options = new LoadStrikeSinks.InfluxDbSinkOptions();
options.baseUrl = "https://influx.example.com";
options.organization = "performance-team";
options.bucket = "loadstrike-runs";
options.token = "influx-token";
options.measurementName = "loadstrike_orders";
options.metricsMeasurementName = "loadstrike_orders_metrics";
options.staticTags.put("environment", "staging");
options.staticTags.put("service", "orders-api");
var sink = new LoadStrikeSinks.InfluxDbReportingSink(options);
LoadStrikeRunner.registerScenarios(scenario)
.withReportingSinks(sink)
.withRunnerKey("rkl_your_local_runner_key")
.run();
from loadstrike_sdk import InfluxDbReportingSink, LoadStrikeRunner
sink = InfluxDbReportingSink(
base_url="https://influx.example.com",
organization="performance-team",
bucket="loadstrike-runs",
token="influx-token",
measurement_name="loadstrike_orders",
metrics_measurement_name="loadstrike_orders_metrics",
static_tags={
"environment": "staging",
"service": "orders-api",
},
)
LoadStrikeRunner.register_scenarios(scenario) \
.with_reporting_sinks(sink) \
.with_runner_key("rkl_your_local_runner_key") \
.run()
import {
InfluxDbReportingSink,
InfluxDbReportingSinkOptions,
LoadStrikeRunner
} from "@loadstrike/loadstrike-sdk";
const sink = new InfluxDbReportingSink(new InfluxDbReportingSinkOptions({
BaseUrl: "https://influx.example.com",
Organization: "performance-team",
Bucket: "loadstrike-runs",
Token: "influx-token",
MeasurementName: "loadstrike_orders",
MetricsMeasurementName: "loadstrike_orders_metrics",
StaticTags: {
environment: "staging",
service: "orders-api"
}
}));
await LoadStrikeRunner
.registerScenarios(scenario)
.withReportingSinks(sink)
.withRunnerKey("rkl_your_local_runner_key")
.run();
const {
InfluxDbReportingSink,
InfluxDbReportingSinkOptions,
LoadStrikeRunner
} = require("@loadstrike/loadstrike-sdk");
const sink = new InfluxDbReportingSink(new InfluxDbReportingSinkOptions({
BaseUrl: "https://influx.example.com",
Organization: "performance-team",
Bucket: "loadstrike-runs",
Token: "influx-token",
MeasurementName: "loadstrike_orders",
MetricsMeasurementName: "loadstrike_orders_metrics",
StaticTags: {
environment: "staging",
service: "orders-api"
}
}));
await LoadStrikeRunner
.registerScenarios(scenario)
.withReportingSinks(sink)
.withRunnerKey("rkl_your_local_runner_key")
.run();
InfluxDB setup checklist
LoadStrike:ReportingSinks:InfluxDb
BaseUrl, Organization, Bucket, Token, MeasurementName, MetricsMeasurementName, and StaticTags.
Teams already using InfluxDB for measurement storage and Grafana for dashboards.
Datasource YAML, shared dashboard-provider YAML, and a matching InfluxDB overview dashboard are published for download.
{
"LoadStrike": {
"ReportingSinks": {
"InfluxDb": {
"BaseUrl": "https://influx.example.com",
"Organization": "performance-team",
"Bucket": "loadstrike-runs",
"Token": "influx-token",
"MeasurementName": "loadstrike_events",
"MetricsMeasurementName": "loadstrike_metrics"
}
}
}
}
Downloads and starter assets
These files cover the documented InfluxDB-backed workflow that LoadStrike publishes publicly.
InfluxDB datasource YAML
Grafana datasource definition for an InfluxDB-backed LoadStrike dashboard setup.
Download fileDashboard provider YAML
Shared Grafana dashboard-provider file used by the published starter dashboards.
Download fileInfluxDB dashboard JSON
Starter dashboard wired for the InfluxDB sink shape documented here.
Download file