import os
from openinference.instrumentation.llama_index import LlamaIndexInstrumentor
from phoenix.otel import register
PHOENIX_API_KEY = os.getenv("PHOENIX_API_KEY")
os.environ["PHOENIX_CLIENT_HEADERS"] = f"api_key={PHOENIX_API_KEY}"
def instrument():
tracer_provider = register()
LlamaIndexInstrumentor().instrument(tracer_provider=tracer_provider)
I trying to connect Phoenix Cloud vs my application but face error:
`ERROR:opentelemetry.exporter.otlp.proto.http.trace_exporter:Failed to export batch code: 401, reason: `
I try change env variables:
PHOENIX_COLLECTOR_ENDPOINT from https://app.phoenix.arize.com/v1/traces
to https://app.phoenix.arize.com/s/my-space-name/v1/traces
but it not work. Is there any change about collection endpoints and credentials setup
I've created a new space using a different email address and invited my primary email address to it.
Thank you for your support.
Are there any plans to migrate data to the new space or deprecate the old one?