Troubleshooting Metadata Updates in Phoenix Dashboard Traces
Hi all, sorry to bother you again. I'm trying to add some metadatas to my traces. To do so i download all my traces with query_spans, add the metadatas, and then upload them back to my server with log_traces. Unfortunately my changes doesn't appear in the phoenix dashboard and log_traces execute without any errors. here's a snippet of my code.
spans = phoenix_client.query_spans(start_time=last_eval_run_time)
metadata_column_name = 'attributes.'+SpanAttributes.METADATA
spans[metadata_column_name] = None
for index, row in spans.iterrows():
spans.at[index, metadata_column_name] = "{'foo':'bar'}"
dataset = TraceDataset(spans)
phoenix_client.log_traces(dataset)