hi, want to get started sending traces to arize. https://arize.com/docs/phoenix/tracing/how-to-tracing/setup-tracing/setup-using-phoenix-otel question: what's the endpoint for the cloud env to set here?
馃挕聽Hint: Mention RunLLM in the thread for followups.
馃挕聽Hint: Mention RunLLM in the thread for followups.
getting a lot:
Failed to export batch code: 401, reason:
Failed to export batch code: 401, reason:after this python:
from phoenix.otel import register
import openai
register(
project_name="joke-evaluation-langgraph",
headers={
"space_id": os.getenv("ARIZE_SPACE_ID"),
"api_key": os.getenv("ARIZE_API_KEY"),
},
endpoint="https://app.phoenix.arize.com/v1/traces",
batch=True,
auto_instrument=True
)
馃挕聽Hint: Mention RunLLM in the thread for followups.
RunLLM still:
from phoenix.otel import register
import openai
print(f"Phoenix api key is: {os.getenv('PHOENIX_API_KEY')}")
register(
project_name="joke-evaluation-langgraph",
endpoint="https://app.phoenix.arize.com/v1/traces",
batch=True,
auto_instrument=True
)
self.client = openai
self.callbacks = []
same issue
馃挕聽Hint: Mention RunLLM in the thread for followups.
should the key start with a value like this?
PHOENIX_API_KEY=ak-fefb29aa-RunLLM i just generated the key here: https://app.arize.com/account/api-keys ... is that correct?
馃挕聽Hint: Mention RunLLM in the thread for followups.
getting this output RunLLM 馃敪 OpenTelemetry Tracing Details 馃敪 | Phoenix Project: joke-evaluation-langgraph | Span Processor: BatchSpanProcessor | Collector Endpoint: https://app.phoenix.arize.com/v1/traces | Transport: HTTP + protobuf | Transport Headers: {'authorization': '****'} | | Using a default SpanProcessor. `add_span_processor` will overwrite this default. | | `register` has set this TracerProvider as the global OpenTelemetry default. | To disable this behavior, call `register` with `set_global_tracer_provider=False`. 馃幁 LangGraph Joke Evaluation Agent Starting... 馃幁 Failed to export batch code: 401, reason:
馃挕聽Hint: Mention RunLLM in the thread for followups.
got it lol, what a mediocre getting started docu
Peter are you attempting to send traces to Arize AX or Phoenix Cloud? These are two different products with two different API keys and authentication schemes. You may be looking for this documentation https://arize.com/docs/ax/observe/quickstart-llm
Further support for AX can be found in Arize AX Support, or, if you'd like to use Phoenix Cloud instead you can sign in to https://app.phoenix.arize.com
My goal was to run this agent evaluations and to try it out: https://arize.com/docs/ax/arize-ai-for-agents
