-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Added build scripts for ext-scoutapm #390
base: main
Are you sure you want to change the base?
Conversation
Is this going to be released any soon? Would be great |
So, generally, we want specific versions for a package formula, this also ensures easier automated building. This core agent thing we'd also want to explicitly load and start, similar to the other APMs, in order to avoid any overhead at runtime. It should be its own package, not bundled as in the case of Blackfire. Unfortunately, there appear to be no docs on the core agent; version history, where to download it, how to configure it, what the command line options are, and so forth. Feel free to email these to me if you don't want to post that info here. |
@dzuelke Thanks for getting back to me. Two things: The However: the focus of this PR specifically is to just enable the PECL extension |
Take a look at how all the other extensions are defined - there is a base |
135d4d3
to
49b8bc2
Compare
@dzuelke thanks David, I've rebased onto |
@dzuelke hi David, I've updated this branch to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Switching review to the PHP SME, to get this out of the languages team review queue)
is there anything we can do to get this in? |
Been working on this, @asgrim. First, could you relay the following to Scout engineering for me please:
Second, what's the general workflow people use in your experience for the extension? Do folks list it in I am wondering if the extension should get the same automagic installation treatment that Blackfire and New Relic have, for when |
Hi @dzuelke sorry for the delay, always busy 😁
I've opened issues for each of these on the core-agent repo. I've actually started working a bit on this myself, so I might be able to look at some of these. On the last one
That would be a cool improvement! If there's anything I can do to assist with that please do let me know. The PHP library won't download/launch if the following envs are set:
|
Basically
Nice, that should just work "out of the box" then if Heroku sets those env vars for the PHP library. |
Thank you for the clarification on that, I understand now. We've got a ticket to look into this 👍
Awesome! 😁 as I said, if there's anything I can do to help please let me know. It's worth adding that Scout also has the same |
This patch aims to add support for installing the
scoutapm
extension from PECL on Heroku environments.Source: https://github.com/scoutapp/scout-apm-php-ext
PECL package: https://pecl.php.net/package/scoutapm
We only support PHP 7.1+ at this time, so only 7.1+ have been added here. Please let me know if any changes need to be made! Thanks.