
Today, we're introducing a small but useful change to the Anomaly detection that configures which hosts the host triggers should listen to. 🎉
Do you have a stroopwafel in your hand? Yes? Then let's dig in.
Hostname Filter
Anomaly detection allows configuration of triggers for host metrics such as CPU usage, Disk I/O, Disk usage, Load averages, Memory usage and Network usage. However, not all hosts are the same and they may require a different set of rules. For example, database servers need higher Disk usage triggers while front-end servers should look out for CPU usage spikes.
To differentiate between those types of hosts, we now allow you to configure hostnames for host triggers. This allows you to set up a rule for one or multiple hosts for every trigger.

To add a hostname to a host trigger, create a new trigger or update an existing one, and enter the hostname in the "Hostname" field. Wildcards are supported here, which means you can select all hosts with a certain substring or all hosts, as before.
For example:
frontend1
- selects only the host with the hostnamefrontend1
.frontend*
- selects all hosts that start with the hostname prefixfrontend
. This will matchfrontend1
,frontend2
,frontend3
, etc.*end*
- selects all hosts that match the given substring, such asfrontend1
, but alsobackend1
.
It's possible to customize the reported hostnames using the hostname
config option in Ruby and Elixir.
Does This Trigger You?
Unsure what host metrics triggers to set up? Follow our guide on how to set up host triggers for your app.
You aren't an AppSignal user yet? Check out the product tour and see how errors, performance, host metrics and triggers all come together in one tool.
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

Tom de Bruijn
Tom is a developer at AppSignal, organizer, and writer from Amsterdam, The Netherlands.
All articles by Tom de BruijnBecome 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!
