Test GenAI Dashboards With Synthetic LLM Calls
LLM applications have their own failure modes — runaway token costs, slow first tokens, hallucination, prompt injection — and the observability for them is new enough that dashboards are often built before there is real traffic to build them on. OTel Studio's AI Observability simulator produces that traffic on demand, using the OpenTelemetry GenAI conventions.
What it simulates
LLM calls across eight models from five providers (OpenAI, Anthropic, Google, DeepSeek and xAI), balanced rather than weighted to one provider. Each call emits GenAI spans and metrics, and a cost computed from per-model pricing. You set the call rate (calls per minute), choose which models take part, and switch failure modes on and off.

Standard metrics and custom ones
| Namespace | Metrics | Status |
|---|---|---|
gen_ai.* | gen_ai.client.token.usage, gen_ai.client.operation.duration, gen_ai.server.time_to_first_token, gen_ai.server.time_per_output_token | OpenTelemetry GenAI semantic conventions |
llm.* | llm.cost.usd, llm.eval.groundedness_score, llm.eval.relevance_score, llm.rag.context_relevance_score, llm.safety.pii_detected_total, llm.safety.prompt_injection_detected_total, llm.agent.tool_selection_total, llm.agent.tool_selection_correct_total | Custom: quality, safety and agent signals are not part of the conventions, so they are kept in a separate namespace on purpose |
Traces from the GenAI scenarios (RAG Chatbot, Agent Workflow, Content Pipeline, Code Assistant and Model Routing) carry gen_ai.system, gen_ai.request.model, gen_ai.response.model, gen_ai.response.finish_reasons, gen_ai.usage.input_tokens and gen_ai.usage.output_tokens. The Agent Workflow scenario follows the invoke_agent → chat span hierarchy.
Four failure switches
- Cost spike — runaway generation, roughly eight times the output tokens.
- Latency spike — about sixteen times the baseline latency.
- High error rate — about 25% of calls fail, against roughly 2% normally.
- Quality degradation — more hallucination and lower groundedness.
Each is independent, so you can test one alert at a time or combine them.
A test plan
- Start AI Observability at 30 calls a minute and confirm the token, cost and latency panels populate in your backend, split by model and provider.
- Build a cost panel: spend per model per hour from
llm.cost.usd. Turn on the cost spike and check the budget alert fires. - Build latency panels for time to first token and operation duration (p50 and p95). Turn on the latency spike and check which of them move.
- Alert on a falling groundedness score or a rising low-quality share. Turn on quality degradation.
- Alert on any prompt-injection or PII detection counter increasing.
- Run the Model Routing scenario and confirm you can see fallback behaviour split by
gen_ai.request.model.
synth.generated: true like everything else, so keep it out of production cost reports by filtering on that attribute.