Import real data¶
This section covers four ways to turn real telemetry into a Sonda scenario: a live Prometheus, a CSV file, a Grafana panel export, or a structured log file. The result is a YAML scenario you can replay for incident reproduction, regression tests, or dashboard validation.
-
sonda new --from-prometheuscaptures a PromQL range query and replays the recorded values verbatim — gaps included. For alert regression. -
sonda new --from <csv>reads each numeric column, classifies the pattern, and writes one scenario entry per column. -
Export a Grafana panel as CSV. Point
sonda new --fromat it and replay the incident at the original cadence. -
Replay a structured log file at the original cadence with
csv_replayon asignal_type: logsentry.