-
Notifications
You must be signed in to change notification settings - Fork 115
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
New Project Proposal: Mix task to bootstrap instrmentation of a project #99
Comments
I would highly recommend taking the approach that Marlus took for Surface's init and convert tools, which makes use of sourceror for making code modifications. |
I have limited time, but I'm definitely interested in helping! |
Oh nice, thanks for the sourceror suggestion. |
I've been chatting with Marlus and others on the use of Sourceror for applying patches. Relevant issue doorgan/sourceror#64 |
@davydog187 what's the status here? Sounds like something fun to contribute to, I'd be interested. |
I'm waiting on some work to be done in Sourceror that should be landing soon, then I'm gonna get started. Would you be interested in pairing once it's ready? |
100% |
Hi @davydog187 any updates on this yet? Still in progress? |
Hey, no I never got around to this, but it remains an excellent idea. Since this issue originated, we now have the Igniter by @zachdaniel that would make this way more straightforward. I would be down to find an hour or two next week and see how far I can get |
Perhaps it could be done like this Some steps
|
Did a live stream today and built an MVP. Live stream: https://youtube.com/live/bHoCMMk2ksc |
argh! I forgot that was this morning, meant to watch live. |
I've done two live streams so far and I intend to keep going until we have something working. What we have to date:
As for bridge libraries, I've started with Phoenix but I intend to support all that are in contrib Let me know what you think @tsloughter. I have some open questions around how the naming should work for the mix task (igniter by default uses the hex package name which is not ideal) |
A mix task that adds dependencies like
opentelemetry_phoenix
to a project'smix.exs
file if it see's thatphoenix
is a dependency.Opening both for discussion and in hopes someone would be interested in picking up this project to add to
-contrib
.The text was updated successfully, but these errors were encountered: