appsignal
Setting Up Triggers and Alerts From Graphs in AppSignal


Milica Maksimović and Wes Oudshoorn on

Building reliable applications and meeting the expectations of your users is not an easy task. Every now and then, a tiny bug can creep up into your production code and cause some trouble to your users. On some days, external API hick-ups may cause difficulties in keeping your application working smoothly.
This is where AppSignal comes in. As a 5-in-1 monitoring tool, it can detect anomalies in your app's behavior and send you a warning message. In this post, we'll go through the changes we've made in our interface that help you set up triggers and alerting for your application more easily.
Creating a Trigger From Custom Metrics
Custom metrics and triggers are a match made in heaven. Like salt and pepper. Like gin and tonic. Like developers and mechanical keyboards... You get the idea 😀
Custom metrics are an amazing way to measure those specific details that indicate your application's health. By setting up triggers for these custom metrics, you get alerted when they go outside their healthy ranges.
Improvements: Quickly Creating Triggers
Creating triggers just became a whole lot faster. Each graph in your dashboard now has a "create trigger" link that helps you create a new trigger for one of the metrics in a graph.
The trigger button works on the graphs on your custom and magic dashboards. Here's a short video showing you the magic:
What to Create Metrics & Triggers For
Here are a few metrics that you could create a graph for on your dashboard and what trigger you could set:
Suggested metrics | What they indicate |
---|---|
Error rate & error count | Bits are hitting the fan. |
Reponse times | Slow requests aren't good, performance is affected. |
Throughput | High throughput = bad or unexpected, you might want to scale up your servers. |
Throughput | Low throughput (0) might indicate that something isn't working. |
Sidekiq queue lengths | Big queues indicate poor performance. |
Sidekiq queue latency | This metric shows how long it takes for the latest job to be processed, the longer the worse. |
You Deserve a Stroopwafel 🍪
Our mission is to make the lives of developers easier and enjoyable. That's why we offer AppSignal for free to amazing OSS projects and send out stroopwafels once you've set up AppSignal.
If you're an existing user, you've probably already received them, but since you've reached the end of this post, you deserve some more! Feel free to message our support, and they'll soon be on their way.
Wondering what you can do next?
Finished this article? Here are a few more things you can do:
- Try out AppSignal with a 30-day free trial.
- Reach out to our support team with any feedback or questions.
- Share this article on social media
Most popular AppSignal articles
Easily Monitor Multiple Heroku Apps with AppSignal
You can now monitor multiple Heroku apps from a single AppSignal instance.
See moreFine-Tune Your Charts with Minutely Metrics in AppSignal
Discover how minutely metrics in AppSignal deliver precise performance monitoring. Check out detailed performance data, spot anomalies quickly, troubleshoot issues more efficiently, and optimize your application's performance.
See moreSecure Your Sign-Ins with AppSignal's Single Sign-On
Secure team sign-ins and enhance access management with AppSignal's Single Sign-On Business Add-On. Integrate AppSignal with your identity provider for seamless, secure access management.
See more

Milica Maksimović

Wes Oudshoorn
Once a rogue designer, now co-founder and manager of colors at AppSignal. If our app looks great, it's to his credit. If something is wrong, he points at developers. Loves skiing.
All articles by Wes OudshoornBecome our next author!
AppSignal monitors your apps
AppSignal provides insights for Ruby, Rails, Elixir, Phoenix, Node.js, Express and many other frameworks and libraries. We are located in beautiful Amsterdam. We love stroopwafels. If you do too, let us know. We might send you some!
