-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a new Elixir example service #1511
Comments
Based on the latest discussions in this SIG and with the Erlang SIG, there is interest in exploring a chat application to show something Elixir-y with Phoenix Channels / Presence. I put together a quick proof of concept adding otel instrumentation to this example chat app. This app uses Phoenix liveview to establish and render the initial page view, then uses a socket connection to a Phoenix channel for the chat messages. The paths on phoenix liveview and ecto are already instrumented with the opentelemetry-erlang-contrib libraries, but the messages passed on the phoenix channel are not traced (automatically). It's easy enough to add traces manually. Adding auto-instrumentation for Phoenix channels to the contrib library may also be worthwhile (I'll open a separate issue to discuss this). Questions to be answered:
|
You mention iframe. So you are thinking it'd be one of those chats that can popup in the corner of a webpage? |
yep |
I'm heading out on vacation for a week today but based on the conversation this week in the SIG meeting, next week I will refactor the example application into a PR. I will use manual instrumentation for now while the Elixir instrumentation issue makes its way through the process. I will use Ecto to store the messages in a Postgres database, but I will use the shell scripts created by @puckpuck for seeding the Postgres database. I think this service should probably also call another downstream service like perhaps ProductCatalogService. |
@joshleecreates thanks for taking care of this. I think adding a call from the chat app to the ProductCatalogService would be great, because than we can also demonstrate context propagation for Elixir. |
Feature Request
Since the feature flag service was replaced with flagd, we need to provide an example erlang or elixir service, ideally one that is an optional sub component of the demo.
Additional Context
Previous discussion: #1343 (comment)
The text was updated successfully, but these errors were encountered: