Local instance
You can use Phoenix's open-source package to launch a local instance of Phoenix on your machine. For more info on other self-hosting options, like Docker, see Self-hosting
First, install the Phoenix package:
Then launch your instance in terminal:
This will expose the Phoenix UI and REST API on localhost:6006
and exposes the gRPC endpoint for spans on localhost:4317
Connect your app to Phoenix
To collect traces from your application, you must configure an OpenTelemetry TracerProvider to send traces to Phoenix. The register
utility from the phoenix
module streamlines this process.
Connect your application to your cloud instance using:
Your app is now connected to Phoenix! Any OpenTelemetry traces you generate will be sent to your Phoenix instance.
Last updated
Was this helpful?