openai/openai-go) using the openinference-instrumentation-openai-go Go package, exporting OpenInference LLM spans to Phoenix.
Install
Setup
Configure an OTLP/HTTP exporter pointed at Phoenix. Createtracing.go:
Run OpenAI
Passopenaiotel.Middleware to the client via option.WithMiddleware. Session and user identifiers are stored on the Go context and applied to every LLM span descended from it.
OPENINFERENCE_HIDE_INPUTS=true or OPENINFERENCE_HIDE_OUTPUTS=true. See the openinference Go README for the full env-var matrix and the in-code WithTraceConfig override.

