Hello, I'm doing the "AI Agents Mastery"course and in the lab1 I got this error when running the agent (note : I have changed the tracer endpoint to use the CA region - as I did in a previous tutorial in the "Get Started" section of the documentation). I don't see any trace (or even the project) on my Arize dashboard.
ERROR:opentelemetry.exporter.otlp.proto.grpc.exporter:Failed to export traces to otlp.ca-central-1a.arize.com, error code: StatusCode.INTERNAL
This is how I register the tracer :
tracer_provider = register( space_id=os.getenv("ARIZE_SPACE_ID"), api_key=os.getenv("ARIZE_API_KEY"), project_name=model_id, set_global_tracer_provider=True, log_to_console=True, endpoint="https://otlp.ca-central-1a.arize.com/v1" )
I re-ran the tracing tutorial notebook I have competed a few days ago and even if there's no error I don't see any trace in my project (I waited a few minutes since this is a async operation)
hum, after removing this line in the Agent lab tracer registration I don't the error anymore but still no trace (or even the project) is showing up in my dashboard > set_global_tracer_provider=True Here is my forked version https://github.com/matthieugd/arize-tutorials/blob/main/python/llm/agents/agent-mastery-course/labs/lab1and2_base_agent.ipynb
Thanks 馃敀[private user] for the reply. I got this warning now with different endpoint urls and option you provided
WARNING:opentelemetry.exporter.otlp.proto.http.trace_exporter:Transient error Internal Server Error encountered while exporting span batch, retrying in 1.20s.
(and here is the latest version in my GitHub repo python/llm/agents/agent-mastery-course/labs/lab1and2_base_agent.ipynb )
My mistake, my API key was incorrect 馃槥 Sorry about that. I deleted one key earlier and generate a new one but didn't update my Colab secrets. Still strange because it happened 2 days ago but the error message was more explicit (I think I got a permission issue or something like that). Before mastering the AI agent, I need to improve my notebook game 馃檪
Yes, indeed 馃檪
