Datadog
Send LoadStrike reporting events to Datadog Logs and projected metrics to Datadog 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 Datadog
Use Datadog when your team already relies on Datadog dashboards, queries, and alerting for both event streams and metric time series.
What LoadStrike Sends
DatadogReportingSink sends reporting events to Datadog Logs and projected metrics to Datadog Metrics. Final export also carries final metric snapshots and run-result metadata such as report files, disabled sink names, and sink error details.
Configuration Surface
Configure the sink in code or through LoadStrike:ReportingSinks:Datadog. Common options include BaseUrl, ApiKey, ApplicationKey, StaticTags, and StaticAttributes.
Downloads
Datadog setup is supported through the downloadable JSON infra-config template and the shared observability asset guide.
Datadog realtime reporting
Use DatadogReportingSink when you want reporting events in Datadog Logs and projected metrics in Datadog Metrics.
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.
Datadog Sink
var datadogSink = new DatadogReportingSink(new DatadogReportingSinkOptions
{
BaseUrl = "https://api.datadoghq.com",
ApiKey = "dd-api-key",
ApplicationKey = "dd-app-key",
StaticTags =
{
["environment"] = "staging",
["service"] = "orders-api"
},
StaticAttributes =
{
["team"] = "performance"
}
});
LoadStrikeRunner.RegisterScenarios(scenario)
.WithReportingSinks(datadogSink)
.WithRunnerKey("rkl_your_local_runner_key")
.Run();
import com.loadstrike.runtime.LoadStrikeRunner;
import com.loadstrike.runtime.LoadStrikeSinks;
var options = new LoadStrikeSinks.DatadogSinkOptions();
options.baseUrl = "https://api.datadoghq.com";
options.apiKey = "dd-api-key";
options.applicationKey = "dd-app-key";
options.staticTags.put("environment", "staging");
var sink = new LoadStrikeSinks.DatadogReportingSink(options);
LoadStrikeRunner.registerScenarios(scenario)
.withReportingSinks(sink)
.withRunnerKey("rkl_your_local_runner_key")
.run();
from loadstrike_sdk import DatadogReportingSink, LoadStrikeRunner
sink = DatadogReportingSink(
base_url="https://api.datadoghq.com",
api_key="dd-api-key",
application_key="dd-app-key",
static_tags={"environment": "staging"},
static_attributes={"team": "perf"},
)
LoadStrikeRunner.register_scenarios(scenario) \
.with_reporting_sinks(sink) \
.with_runner_key("rkl_your_local_runner_key") \
.run()
import {
DatadogReportingSink,
DatadogReportingSinkOptions,
LoadStrikeRunner
} from "@loadstrike/loadstrike-sdk";
const sink = new DatadogReportingSink(new DatadogReportingSinkOptions({
BaseUrl: "https://api.datadoghq.com",
ApiKey: "dd-api-key",
ApplicationKey: "dd-app-key",
StaticTags: {
environment: "staging"
},
StaticAttributes: {
team: "perf"
}
}));
await LoadStrikeRunner
.registerScenarios(scenario)
.withReportingSinks(sink)
.withRunnerKey("rkl_your_local_runner_key")
.run();
const {
DatadogReportingSink,
DatadogReportingSinkOptions,
LoadStrikeRunner
} = require("@loadstrike/loadstrike-sdk");
const sink = new DatadogReportingSink(new DatadogReportingSinkOptions({
BaseUrl: "https://api.datadoghq.com",
ApiKey: "dd-api-key",
ApplicationKey: "dd-app-key",
StaticTags: {
environment: "staging"
},
StaticAttributes: {
team: "perf"
}
}));
await LoadStrikeRunner
.registerScenarios(scenario)
.withReportingSinks(sink)
.withRunnerKey("rkl_your_local_runner_key")
.run();
Datadog setup checklist
This page only covers the Datadog sink contract that LoadStrike ships today.
LoadStrike:ReportingSinks:Datadog
BaseUrl, ApiKey, ApplicationKey, StaticTags, and StaticAttributes.
Teams already using Datadog dashboards, queries, and alerting for both event and metric streams.
Includes final metric snapshots plus run-result metadata such as report files, disabled sink names, and sink errors.
{
"LoadStrike": {
"ReportingSinks": {
"Datadog": {
"BaseUrl": "https://api.datadoghq.com",
"ApiKey": "dd-api-key",
"ApplicationKey": "dd-app-key"
}
}
}
}
Downloads and templates
Use the Datadog template when you want to bind sink settings from infra config instead of constructing every value in code.
Datadog template JSON
Ready-to-edit infra-config template for DatadogReportingSink.
Download fileObservability asset guide
Combined guide for sink templates and Grafana starter assets.
Download file