Community spotlight: Drupal error tracking with Raygun

| 2 min. (382 words)

One of the joys of being part of a SaaS like Raygun is seeing the amazing creations our customers come up with. It’s an important goal of ours to open up the service and allow other systems to integrate with Raygun – we’re working on a world-class read API that will bring a lot of value to your projects. We hope this will help foster the ecosystem, as it’s amazing what online communities can come up with. It’s early days yet, but for this post I’d like to highlight the awesome effort Sean Hamlin/CatalystIT has done in creating a Raygun provider for Drupal. Released this week, this open source project brings Raygun’s error tracking to Drupal, the well-known scalable and flexible CMS.

Easy to implement

They’ve nailed the developer UX when implementing the provider – it includes a configuration screen, and requires no coding. Like our WordPress provider, it allows you to input and save your API key without having to bury it in a config script. The Drupal provider is based on Raygun4PHP, the lower-level code – as such it has full support for all the features it does. They’ve put thought into exposing them via the configuration menu – all the recent features are present, including user and version tracking, and an option to toggle asynchronous sending. Crucially, it allows you to toggle both automatic error and exception handlers, giving you control over what data you see in your dashboard.

As a unique feature, the provider gives you control over whether you’d like to send Drupal watchdog errors, which would probably include duplicates and wouldn’t be grouped by Raygun. This keeps the dashboard nice and tidy.

Check it out

The module is available here and has simple installation instructions. Like our other PHP providers it requires PHP 5.3 and above, and possibly the cURL library (but not necessary any more). If you’re operating or developing a Drupal site, grab it and try it out.

Thinking about developing a provider for a platform we don’t yet support? There’s read API information available here, and if you have any questions get in touch with us! Alternatively, if you want us to take a look at a platform for you, feel free to add a Feature Request from the dashboard. Thanks for reading!