Better Heroku Integration

By Jérôme Vieilledent, on Jul 13, 2020

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!

Jérôme Vieilledent

As a Developer Advocate, Jérôme is all about spreading the love! His technical/development background enable him to talk as a peer to peers with our developer users. You’ll read his tips and advices on performance management with Blackfire. And he’ll support you as a day-to-day user.