06.13.2025
Enhanced Span Creation And Logging
New Features:-
Added
POST /projects/{project_identifier}/spansroute for span ingestion. -
Added
log_spansclient method to submit a sequence of spans, rejecting the entire batch if any span is invalid or not unique. -
Added
log_spans_dataframefor submitting spans as a dataframe. -
Introduced
uniquify_spansanduniquify_spans_dataframehelpers to regenerate span and trace IDs while preserving relationships. - Improved validation and error handling to prevent partial ingestion and ensure safe, conflict-free span creation.
Example Usage
feat: Add `log_spans` to client and REST API by anticorrelator Β· Pull Request #8005 Β· Arize-ai/phoenix
GitHub

