is there any documentation with working setup of the phoenix using docker... I am running locally ... the service comes up but not able to send data or register provider to it... using this document : https://docs.arize.com/phoenix/quickstart
To set up Phoenix using Docker and ensure data can be sent to it, you should follow the steps outlined in the Phoenix Docker Deployment Guide. This guide provides detailed instructions on pulling the Phoenix Docker image and running it with the necessary ports exposed. For example, you can run the following command to start Phoenix: LBKSdocker run -p 6006:6006 -p 4317:4317 -i -t arizephoenix/phoenix:latestLBKSThis command exposes port 6006 for the UI and OTLP HTTP collector, and port 4317 for the OTLP gRPC collector. To send data, ensure your application is configured to use the correct endpoint. You can set the PHOENIX_COLLECTOR_ENDPOINT environment variable in your application to point to http://localhost:6006/v1/traces for HTTP or http://localhost:4317 for gRPC, as described in the Phoenix Tracing Integration Guide.Would you like more details on configuring your application to send traces to Phoenix?Sources:
- Phoenix Docker Deployment Guide
- Phoenix Tracing Integration Guide
馃挕聽Hint: Mention RunLLM in the thread for followups.
The issue might be related to the configuration of the COLLECTOR_ENDPOINT environment variable. In your docker-compose.yml, the COLLECTOR_ENDPOINT is set to [http://phoenix:6006/v1/traces](http://phoenix:6006/v1/traces), which is incorrect because it includes angle brackets. It should be set without angle brackets, like this: LBKS- COLLECTOR_ENDPOINT=http://phoenix:6006/v1/tracesLBKSAdditionally, ensure that your application is correctly configured to send traces to this endpoint. If you are using OpenTelemetry, make sure the OTLPSpanExporter is set up with the correct endpoint. Here's an example of how you might configure it in Python: LBKSfrom opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter from opentelemetry.sdk.trace import TracerProvider from opentelemetry.sdk.trace.export import SimpleSpanProcessorLBKSspan_exporter = OTLPSpanExporter(endpoint="http://localhost:6006/v1/traces") tracer_provider = TracerProvider() tracer_provider.add_span_processor(SimpleSpanProcessor(span_exporter))LBKSEnsure that your application is running in an environment where it can resolve the phoenix service name to the correct IP address. If you continue to experience issues, check the logs of both the Phoenix container and your application for any error messages that might provide more insight.Would you like more detailed troubleshooting steps?Sources:
- https://arize-ai.slack.com/archives/C04R3GXC8HK/p1723828797.781399
- https://github.com/Arize-ai/phoenix/issues/5433
馃挕聽Hint: Mention RunLLM in the thread for followups.
