-
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
Elixir Chat Service #1621
base: main
Are you sure you want to change the base?
Elixir Chat Service #1621
Conversation
The backend for this is more or less ready, I just need to add Postgres. If anybody is interested in helping with the front-end or doing something with React or more fancy than what I have here, the help would be welcome |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
5ab9017
to
20f2263
Compare
Hey @joshleecreates 👋🏽 , I've tried starting this up to see what I could collaborate, but got some bumps on the road. 1st the Then, the Then the app wasn't starting, so I've tried commenting out the runner container in the I may have copied wrong stuff over, would you be able to push the missing files? Also, I've done some work to have the |
Awesome, thank you for trying it out! I'll upload the missing files. The tailwind stuff shouldn't be needed so I'll just remove those references. I'm not sure how I left out rel/ 🤪 My plan was to squash some commits / rebase before opening this, let me do that today before you add your commit if thats easier? |
sounds good! It is tricky to me because I'm not an Elixir/Erlang dev, so it is just a trial and error debug all the way 😅 |
This commit adds OpenTelemetry instrumentation to Phoenix: 1. Dependencies are added in mix.exs 2. Configuration options are added in config/config.exs 3. The OTel instrumentation libraries for Phoenix and ecto are started with the application
genserver for persisting chats simplify skeleton macos nix allow for listing of topics, more idiomatic working POC of frontend with joining different channels, channel list dockerfile for chatservice remove HTML helper cruft
20f2263
to
000f403
Compare
@julianocosta89 this currently has no way to create the schema in postgres via Docker. You need to somehow run |
(but feel free to add your commit in the meantime) |
@joshleecreates I've added I didn't manage to get any further than the username page, but I could already see a trace: |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Hey @joshleecreates sorry for taking that long to come back to you. The chat page loaded fine, but when trying to connect to |
@julianocosta89 the way the front end is set up right now you still need to "login" even when connecting to a specific channel. The login doesn't really do anything other than set the username and if the channel is not set using the url it creates a channel based on the username. |
Bizarre. Are you free to pair on this at all? It's behaving as if it can't connect to the backend. Probably a better front end would have some error messages 😅 |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Changes
Fix #1511.
Creates an elixir-based chat service (Draft)
TODO
Merge Requirements
For new features contributions please make sure you have completed the following
essential items:
CHANGELOG.md
updated to document new feature additionsMaintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.