Introducing Notice Search

The ability to search through individual error events (we call them Notices) has been one of our most requested features. Today we are shipping an updated section to our Errors page that allows you to do exactly that.

Our new Notice Search gives you more tools to find information about individual Notices. We think this will come in handy when you need to track down specific details about your errors. Here is a screenshot:

  1. Overall notice counts and key dates have been shuffled around to give more emphasis.
  2. Full featured searching based on data points contained within your Notices.
  3. Enlarged interactive timeline showing the time distribution of your error notices.
  4. Common aggregated values based on search results
  5. A paginated list of Notices you can scan and select to view details.

The search functionality should feel familiar, as it works exactly like our Project search only constrained to data found within your Notices. For the launch of the new search we are aggregating some common data points for you: Affected Users, Browsers, and Hostnames.

It’s about your Users

Let’s face it, no matter how hard you try, bugs are going to happen. How you respond to a customer-affecting bug or outage can make the difference between losing customers and building confidence. We built Honeybadger so you can be alerted as soon as possible, but we also provide tools so you can be informed about which users have been impacted, which we call Affected Users.

I want to share two essential tips for how to make the most of the new search and our Affected Users feature.

Tip #1: Adding the right context

Our Honeybadger client can track contextual data during the lifecycle of your app (we call it Context). Just give Honeybadger some data you care about, and if an error happens, we will present that data in the resulting error page. There is one piece of context data that gets special treatment, and that is user info (either email or id). Our Affected Users features are reliant on this supplied context data.

If you haven’t done it yet, we think adding the user to context should be your next commit in production.

Here is one way you can add the currently logged in user if you are using Rails and Devise:

class ApplicationController < ActionController::Base
  before_action :set_user_context

  def set_user_context
    Honeybadger.context(user_email: current_user.email) if current_user
  end
end

All of our clients support adding context, so consult our documentation for your specific runtime.

Tip #2: Tracking Deploys

One more feature you should take advantage of is Deploy Tracking.

It’s really simple to set up. As long as your system for deploying has any form of post hooks, you could write some Ruby code, build a simple curl, or even integrate with some CI tools we have made just for you (Github, CircleCI).

Putting it all together

With these two things in place, you can now visualize and track all your Affected Users since the last deploy. Let’s see how this works with the new search (BTW, it behaves the same as in our Project search). In the search hint modal, an option for “Since Deploy” should appear, and upon selecting it, the deploy time will be injected into your query:

The “Affected Users” aggregate drop down lists the top 3 affected users (sorted by the amount of times they were affected).

You can select the bottom link to open a modal containing a listing of all affected users within the query results:

We also added a link in the Affected Users modal (see screenshot above) that takes you directly to our API with a JSON payload containing all Affected Users. The search query is persisted so you can save this and use it outside of Honeybadger if you want.

We like to be proactive if any of our users have been adversely affected by a bug. Often that means sending an email explaining the situation. These tools will allow you to do the same for your users.

Enjoy

We hope this updated search functionality will help you both debug quicker and serve your users better! Give us a shout and let us know of any requests or issues you run into while using the new search.

What to do next:
  1. Try Honeybadger for FREE
    Honeybadger helps you find and fix errors before your users can even report them. Get set up in minutes and check monitoring off your to-do list.
    Start free trial
    Easy 5-minute setup — No credit card required
  2. Get the Honeybadger newsletter
    Each month we share news, best practices, and stories from the DevOps & monitoring community—exclusively for developers like you.
    author photo

    Kevin Webster

    Kevin is the freshest Honeybadger (both in time and breakdancing abilities). Kevin has been building things with software since his dad brought home the family IBM 386. He fancies himself a bit of a programming polyglot. When he's not compromising his ability to write Ruby by learning new languages, he enjoys hiking through the Oregon wilderness, hanging with his family, or watching cringeworthy b-list movies.

    More articles by Kevin Webster
    Stop wasting time manually checking logs for errors!

    Try the only application health monitoring tool that allows you to track application errors, uptime, and cron jobs in one simple platform.

    • Know when critical errors occur, and which customers are affected.
    • Respond instantly when your systems go down.
    • Improve the health of your systems over time.
    • Fix problems before your customers can report them!

    As developers ourselves, we hated wasting time tracking down errors—so we built the system we always wanted.

    Honeybadger tracks everything you need and nothing you don't, creating one simple solution to keep your application running and error free so you can do what you do best—release new code. Try it free and see for yourself.

    Start free trial
    Simple 5-minute setup — No credit card required

    Learn more

    "We've looked at a lot of error management systems. Honeybadger is head and shoulders above the rest and somehow gets better with every new release."
    — Michael Smith, Cofounder & CTO of YvesBlue

    Honeybadger is trusted by top companies like:

    “Everyone is in love with Honeybadger ... the UI is spot on.”
    Molly Struve, Sr. Site Reliability Engineer, Netflix
    Start free trial