InfluxDB

Use the InfluxDB sink when your team wants LoadStrike events and metrics stored in an Influx bucket. This page explains the data flow and the optional metrics split.

What this page helps you do

What this page helps you do

Use the InfluxDB sink when your team wants LoadStrike events and metrics stored in an Influx bucket. This page explains the data flow and the optional metrics split.

Who this is for

Teams exporting final run data and realtime metrics into supported observability backends.

Prerequisites

  • A run result or sink destination you want to wire into the wider observability stack

By the end

A sink-specific setup path that stays tied to the same LoadStrike report model.

Use this page when

Use this page when the local report is not the only destination and you need to wire realtime or final export into a supported sink.

Visual guide

Annotated report diagram showing summary, scenario views, and failure analysis.
The same run result powers summary reading, failure diagnosis, grouped correlation, and export flows.

Sample Report Data Rows

Scope    Scenario     Result Count RPS  LatencyP50Ms LatencyP80Ms LatencyP85Ms LatencyP90Ms LatencyP95Ms LatencyP99Ms
Scenario reports-demo OK     675   15.0 21.4         30.2         33.0         36.8         48.6         72.1

LatencyTable Scenario     Result Count LatencyP50Ms LatencyP95Ms
LatencyTable reports-demo OK     675   21.4         48.6
LatencyTable reports-demo FAIL   12    35.9         79.2

StatusCode Result Percent
200        OK     97.48
500        FAIL   2.52

FailedStatus Scope     Scenario     Step StatusCode Count Percent
FailedStatus Scenario  reports-demo      500       12    1.75

Reporting

Realtime reporting

Choose the built-in sink page that matches the backend your team already runs, or open Custom Reporting when you need to implement your own destination. Each tab opens a dedicated page with the settings, behavior, and lifecycle details for that reporting path.

Guide

When To Use InfluxDB

Choose InfluxDB when the team wants queryable event and metric storage in Influx, often with Grafana dashboards layered on top.

What LoadStrike Sends

InfluxDbReportingSink writes reporting events plus projected metrics into the configured bucket. You can keep projected metrics in a separate MetricsMeasurementName when event and metric series should be 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.

If you run these examples locally, add a valid runner key before execution starts. Set it with WithRunnerKey("...") or the config key LoadStrike:RunnerKey.

HTML reports also include the top-right Light/Dark theme toggle. Light is the default report theme.

InfluxDB Sink

using LoadStrike;

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

InfluxDbReportingSinkOptions fields

ConfigurationSectionPath

Defaults to LoadStrike:ReportingSinks:InfluxDb when binding from infra config.

BaseUrl

Required Influx base URL.

WriteEndpointPath

Path used for line-protocol writes.

Organization / Bucket / Token

Required Influx write-target and auth fields.

MeasurementName

Measurement used for reporting-event rows.

MetricsMeasurementName

Separate measurement used for projected metrics.

TimeoutSeconds

HTTP timeout for Influx writes.

StaticTags

Tags applied to every exported event and metric point.

{
  "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 downloads cover the public InfluxDB workflow that LoadStrike documents today.

InfluxDB datasource YAML

A Grafana datasource definition for an InfluxDB-backed LoadStrike dashboard setup.

Download file

Dashboard provider YAML

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

Download file

InfluxDB dashboard JSON

A starter dashboard already wired for the InfluxDB sink shape documented on this page.

Download file