Issues with Using @tracer.chain Decorators in Phoenix App
Hi Phoenix team! I am trying to use the new @tracer.chain decorators in my app but running into some issues. Here is my setup and what I am doing:
In an api.py file, I am registering a tracer provider with Phoenix and setting it as global tracer provider:
from phoenix.otel import register
tracer_provider = register()
from opentelemetry import trace
trace.set_tracer_provider(tracer_provider)
Then, in another python file, I would like to use the @tracer.chain decorators, so I get the tracer at the top of my file:
tracer = trace.get_tracer(__name__) Now, when I put the decorator on top of a function, I get the following error: AttributeError: 'ProxyTracer' object has no attribute 'chain' I have the latest version of arize-phoenix and arize-phoenix-otel and I did confirm that the register function uses the tracer provider from openinference.instrumentation. Any ideas what could be wrong here? Thank you!
