Configuring Arize SaaS and Nesting Traces in Phoenix
Hi Jonathan H. model_id is an arize saas config. Phoenix exclusively uses projects as resrouce attributes. https://docs.arize.com/phoenix/tracing/how-to-tracing/customize-traces#log-to-a-specific-project Name is pulled from the class name typically and is part of the auto-instrumention. If you use manual instrumentation you can configure the name your self.
def do_work():
with tracer.start_as_current_span("parent") as parent:
# do some work that 'parent' tracks
print("doing some work...")
# Create a nested span to track nested work
with tracer.start_as_current_span("child") as child:
# do some work that 'child' tracks
print("doing some nested work...")
# the nested span is closed when it's out of scope
# This span is also closed when it goes out of scope