OTEL Collector

Send OTLP/HTTP logs and metrics to an OpenTelemetry collector or compatible vendor pipeline.

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 OTEL Collector

Use OTEL Collector when your organization standardizes on OpenTelemetry collector pipelines or a vendor backend that already accepts OTLP/HTTP.

What LoadStrike Sends

OtelCollectorReportingSink sends OTLP/HTTP logs and metrics through the configured endpoint. Final metric snapshots and run-result metadata travel through the same collector flow.

Configuration Surface

Configure the sink in code or through LoadStrike:ReportingSinks:OtelCollector. Common options include BaseUrl, Headers, and StaticResourceAttributes.

Downloads

OTEL Collector setup is supported through the downloadable JSON infra-config template and the shared observability asset guide.

OTEL Collector realtime reporting

Use OtelCollectorReportingSink when you want OTLP/HTTP logs and metrics sent through an OpenTelemetry collector pipeline.

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.

OTEL Collector Sink

var otelSink = new OtelCollectorReportingSink(new OtelCollectorReportingSinkOptions
{
    BaseUrl = "https://otel.example.com",
    Headers =
    {
        ["Authorization"] = "Bearer otel-token"
    },
    StaticResourceAttributes =
    {
        ["deployment.environment"] = "production-like",
        ["service.name"] = "payments"
    }
});

LoadStrikeRunner.RegisterScenarios(scenario)
    .WithReportingSinks(otelSink)
    .WithRunnerKey("rkl_your_local_runner_key")
    .Run();

OTEL Collector setup checklist

Config path

LoadStrike:ReportingSinks:OtelCollector

Common options

BaseUrl, Headers, and StaticResourceAttributes.

Best fit

Teams standardizing on an OpenTelemetry collector or vendor pipeline that already accepts OTLP/HTTP.

Final export

Final metric snapshots and run-result metadata are sent through the same OTLP/HTTP sink configuration.

{
  "LoadStrike": {
    "ReportingSinks": {
      "OtelCollector": {
        "BaseUrl": "https://otel.example.com",
        "Headers": {
          "Authorization": "Bearer otel-token"
        }
      }
    }
  }
}

Downloads and templates

Use the OTEL Collector template when you want to bind sink settings from infra config.

OTEL Collector template JSON

Ready-to-edit infra-config template for OtelCollectorReportingSink.

Download file

Observability asset guide

Combined guide for sink templates and Grafana starter assets.

Download file