The 30 scenarios
Each scenario simulates a real service topology. For every request OTel Studio produces a trace with 10–15 spans and correct parent-child links, one correlated log record for every service the request visits (so logs outnumber traces), and metric instruments recorded on every export cycle. Every service in a scenario is its own service.name. Logs carry the trace and span IDs of the span that was active when they were written.
Web App
Customer-facing application flows. These also receive RUM sessions as their root when the RUM simulator is on.
| Scenario | Services (request flow) | What it exercises |
|---|---|---|
| E-Commerce | frontend → cart → inventory → payment → search → recommendations | Checkout, search and recommendation paths; a good all-round default for dashboards and alerts. |
| SaaS Platform | api-gateway → auth → user → billing → feature-flags → payment-gateway | Multi-tenant request paths with authentication, billing and feature flags; useful for per-tenant attribute tests. |
| Media Streaming | cdn-edge → origin → transcoder → queue-worker → storage | CDN cache behaviour and an asynchronous transcoding pipeline. |
| Banking / FinTech | web-portal → fraud-detection → risk-engine → payment → ledger → audit | Fraud scoring and audit trails; pair with synthetic PII to test redaction. |
| Social Network | feed → graph → ranking → media → notification-fanout → cache | Fan-out heavy feed generation with a friend-graph traversal. |
Infrastructure
System and platform workloads.
| Scenario | Services (request flow) | What it exercises |
|---|---|---|
| Linux Syslog | kernel, sshd, systemd, cron, nginx, postgresql, dockerd | OS-level logs: OOM kills, SSH events, service failures — a log-pipeline workout. |
| K8s Control Plane | kube-apiserver → scheduler → kubelet → containerd → coredns → etcd | Scheduling, image pulls and control-plane health. |
| Database Cluster | query-router → primary-db → replica-db → wal-archiver → read-cache | Replication, slow queries and deadlocks. |
| Message Queue | producer → kafka-broker → consumer-group → processor → dead-letter | Consumer lag and dead-letter routing. |
| CI/CD Pipeline | webhook-trigger → build-agent → test-runner → deploy-agent → health-checker | Build, test and deploy stages with rollback triggers. |
APM
Language-runtime flavoured application stacks.
| Scenario | Services (request flow) | What it exercises |
|---|---|---|
| Java / JVM | java-backend → node-api → python-worker → go-proxy → ruby-app | A polyglot chain with GC pauses and heap pressure (jvm.memory.heap.used). |
| Node.js Services | express-gateway → auth-middleware → product → mongoose → redis → elastic | An Express stack with MongoDB, Redis and Elasticsearch calls. |
| Python ML Pipeline | api-server → feature-store → model-server → vector-db → result-cache | Inference paths with CUDA out-of-memory and feature lag. |
| Go Services | http-proxy → grpc-service → worker-pool → object-store | Microservices with worker-pool and goroutine behaviour. |
| .NET Platform | aspnet-gateway → identity → order → data-service → token-store → cache | ASP.NET with SQL Server connection-pool pressure. |
Cloud Native
Distributed and edge architectures.
| Scenario | Services (request flow) | What it exercises |
|---|---|---|
| IoT / Edge | sensor-hub → edge-gateway → stream-processor → timeseries-db → anomaly-detector | Edge buffering and anomaly detection. |
| Serverless / FaaS | api-gateway → lambda-auth → lambda-process → dynamodb → s3 → sns | Cold starts and timeouts. |
| Service Mesh | istio-ingressgateway → envoy-sidecar → service-a → service-b | Circuit breakers and mTLS errors. |
| Security / SIEM | firewall → ids-engine → siem → alert-manager → notification | Security events, CVE detections and SOC alerts. |
| Mobile Backend | mobile-api → auth → feed-aggregator → content → analytics → event-store | Biometric auth and push notifications. |
Chaos / Stress
Scenarios that behave badly on purpose.
| Scenario | Services (request flow) | What it exercises |
|---|---|---|
| Error Storm | frontend → cart → payment → inventory | 80% forced errors — test error alerting and error budgets. |
| Cardinality Burst | api-gateway → data-service | Random user IDs on every request — test high-cardinality handling and cost. |
| Latency Spike | frontend → product → payment → slow-db | 30% of spans take 2–8 seconds — test latency alerts and percentiles. |
| Traffic Surge | gateway → order → inventory → billing → shipping | Ten times the batch volume — test ingestion throughput and back-pressure. |
| Cascading Failure | gateway → order → billing → cache | 75% errors with circuit-breaker fallbacks — test dependency-failure dashboards. |
GenAI
LLM application patterns using the OpenTelemetry GenAI conventions.
| Scenario | Services (request flow) | What it exercises |
|---|---|---|
| RAG Chatbot | llm-orchestrator (gen_ai spans) | Retrieval-augmented chat with model, token usage and finish reason attributes. |
| Agent Workflow | planner (invoke_agent → chat span hierarchy) | Multi-step agent planning that follows the GenAI agent span pattern. |
| Content Pipeline | content-generator (gen_ai spans) | Content generation with per-call token and model attributes. |
| Code Assistant | code-model (gen_ai spans) | Code generation calls with GenAI conventions. |
| Model Routing | primary-provider → fallback-provider | Provider routing and fallback with a distinct gen_ai.request.model per branch. |
Controls available on every scenario
| Control | What it does |
|---|---|
| Interval, batch, error % | How often a batch is sent, how many requests per batch, and what share of requests end in an error. |
| Geo / IP simulation | Adds client.address and GeoIP-resolvable attributes — realistic regional ranges or RFC 5737 test ranges. |
| Synthetic PII | Adds user.id, user.name, user.email on reserved example domains, marked pii.synthetic: true, for testing redaction and DLP. |
| Custom attributes | Arbitrary key=value pairs added to the root span and logs — tag runs with a team, region or test ID. |
| Span duration override | Force a minimum and maximum span duration. |
| Status code weights | For example 200:90,404:5,500:5 to shape the HTTP status mix. |
| Sequential mode | Rotate through the enabled scenarios, one at a time, on a timer. |
