Is there any reason not to treat Phoenix projects as ephemeral units of organization? My use case is to run some code that will generate traces and use the with using_project: context manager so that it鈥檚 easy to get the resulting traces (spans = client.get_spans_dataframe(project_name=project_name) ) and then create a data set with them. Then I would delete the project to keep things tidy. Does this seem like a reasonable workflow? The goal is to programmatically generate traces, create a dataset, and run an experiment all in one go.
馃挕聽Hint: Mention RunLLM in the thread for followups.
I think this comment is outdated since I was able to use with using_project: outside of a notebook env
Hi Andrew, while the context manager works in many cases outside of notebook environments, it temporarily patches the source attributes of a trace, which isn鈥檛 really the intent of how to use that attribute in production
is there a better way to change the project name that doesn鈥檛 require restarting the env with a different env var?
Unfortunately there isn鈥檛 a direct way because opentelemetry does not allow the easy modification of the source once it鈥檚 been set :(
