Better Heroku Integration
You can now use Blackfire on Heroku with all languages supported by Blackfire, thanks to the new official buildpack.
Blackfire has been integrated with Heroku for quite a long time now. The official PHP buildpack indeed provides the Probe, Agent, and CLI tool out-of-the-box with a single composer require ext-blackfire
command.
New Languages, New Buildpack
We’ve been supporting new languages, like Python and Go, for a few months and a few adjustments were needed in some of our integrations with PaaS services such as Heroku, in order to be able to profile apps using different languages than PHP.
The Blackfire agent being independent of the runtime (while the probe is a language extension), it is best to install and use it independently as well. In this regard, we implemented a dedicated buildpack which installs all necessary bits in your dyno, regardless the language you use.
The Blackfire buildpack is configurable via Heroku config vars. It supports socket type configuration, in the case you would like to run the Blackfire agent in a dedicated dyno.
Language Peculiarities
Now that the agent is managed by a dedicated buildpack, you still have to take care of the probe. Our Heroku integration documentation has been updated to reflect the install requirements per language.
Play with the demo or subscribe now!
Enjoy, and Happy Profiling on Heroku!