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();

InfluxDB setup checklist

Config path

LoadStrike:ReportingSinks:InfluxDb

Common options

BaseUrl, Organization, Bucket, Token, MeasurementName, MetricsMeasurementName, and StaticTags.

Best fit

Teams already using InfluxDB for measurement storage and Grafana for dashboards.

Starter assets

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 file

Dashboard provider YAML

Shared Grafana dashboard-provider file used by the published starter dashboards.

Download file

InfluxDB dashboard JSON

Starter dashboard wired for the InfluxDB sink shape documented here.

Download file