I don鈥檛 think I did anything particularly different from the tutorial. I tried both https://app.phoenix.arize.com and docker image (5.8.0). in both cases, the spans appear as expected in the browser, but when attempting to download it as df it gives me 500 error.
# Writing Span
import os
from langchain_anthropic import ChatAnthropic
from openinference.instrumentation.langchain import LangChainInstrumentor
from phoenix.otel import register
trace_provider = register(
endpoint="http://localhost:4317"
)
LangChainInstrumentor().instrument(trace_provider=trace_provider)
llm = ChatAnthropic(
model="claude-3-5-sonnet-latest",
api_key=ANTHROPIC_API_KEY
)
llm.invoke("hello")
# Reading Span
# arize-phoenix==5.8.0
import phoenix as px
df = px.Client(
endpoint="http://localhost:6006",
).get_spans_dataframe()
# Error Message
HTTPStatusError: Server error '500 Internal Server Error' for url 'http://localhost:6006/v1/spans?project_name=default&project-name=default'