Applies to:
- Plan -
- Deployment -
Summary
Cloud storage export automations configured withLogs (traces) only export one row per trace containing aggregated summary data, not the individual child spans within each trace. This occurs because Logs (traces) runs a summary query that consolidates all spans into a single root span with aggregated metrics. To export all child spans, change the configuration to Logs (spans) or use a custom BTQL query for more granular control.
Resolution Steps
If you need all child spans in your export
Step 1: Navigate to data management settings
Go to Settings → Project → Data management.Step 2: Edit the export automation
Click on your existing automation to edit it.Step 3: Change data export type
Under Data to export , selectLogs (spans) instead of Logs (traces).
Step 4: Save and verify
Click Save and wait for the next export interval to verify child spans are included.If you need both summary metrics and child spans
Step 1: Use a custom BTQL query
SelectCustom BTQL query as the data export type.
Step 2: Query both traces and spans
Create separate exports or use a query that includes the specific fields you need from spans.Understanding Export Types
Logs (traces)
Exports one row per trace with aggregated scores and metrics on the root span only. Use for high-level trace analysis. See summary spans documentation.Logs (spans)
Exports one row per span, including all child spans. Use for detailed debugging and span-level analysis.Custom query
Define exactly what data to export using SQL or BTQL for full control over output.Notes
- The export path cannot be changed after the automation is created.
- On data plane v2.0 and earlier, each export interval processed up to 100,000 rows (traces or spans) and files were organized by the automation’s run date rather than the records’ creation date. On newer data planes there is no per-run row cap, and files are Hive-partitioned by the row’s transaction date (
date=YYYY-MM-DD/). See the main export docs for more.