Hello Team,
I want to get specific set of data for annotation.
It could be based on list of trace_id or attributes.session.id or any other filter
How to get specific data?
current solution --> Get all data based on start and end time and then apply filter on spans_df
spans_df = client.spans.get_spans_dataframe(
project_identifier="agentic_service_project",
start_time=datetime.now() - timedelta(days=7),
end_time=datetime.now(),
timeout=120
)
issue --> I have so many data in project
- 1.
It takes good amount of time to get all data
- 2.
Error : httpcore.RemoteProtocolError: peer closed connection without sending complete message body (incomplete chunked read)
- 3.
needs to play with limit arg every time
is there any better and effective solution to this?
Thanks