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
Can't start nested app in Umbrella project #445
Comments
+1 Independent execution is one of the main features of an umbrella project. Following the AppSignal docs breaks that feature. Ordinarily you would have the OTP app start before the dependent app by putting the dep into each app’s mix.exs (which would obviate its inclusion in
Why is this, AppSignal? |
Hey @endersstocker, Thanks for chiming in! We added this in some of the first versions of our integration, where this fixed issues that some of our customers were seeing. We'd love to be able to update the documentation and have users install appsignal in both nested apps, so I've been testing in an umbrella app and found that the integration is still working. I've moved the dependency to both nested apps, and removed |
We were able to the move the dependency down to the nested apps without any apparent negative consequences. Ecto queries and Phoenix events are both successfully making their way into AppSignal. Huzzah! |
@jeffkreeftmeijer Can I contact Private Internal link about this change as well? Since I believe it will solve that issue also. |
@endersstocker that's great to hear! Thanks for getting back to us about this. We'll do some more testing and we'll update the documentation if we don't find any further issues. @jvanbaarsen yes, great idea. Could you ask them to make sure this setup works for them too? |
@jeffkreeftmeijer Got confirmation that this works for them. Did we already update the docs? If so, shall we close this issue? |
Thanks! We're updating the docs in https://github.com/appsignal/appsignal-docs/pull/213 and https://github.com/appsignal/appsignal-server/pull/4115. Thanks @endersstocker for your input, we're closing this and will update the documentation in the issues above. |
When you add AppSignal to an Umbrella app, you can not start the nested apps indepdendently from each other. If you try to do so it will show an error that the AppSignal app cannot be found.
The text was updated successfully, but these errors were encountered: