Gather around, ✨ magic dashboards ✨ are here!
After last week's dashboards update, we are now shipping magic dashboards. Dashboards that will be added automatically when upgrading the AppSignal Ruby gem or Elixir package in your app.
When you upgrade the Ruby gem or Elixir package to the latest version, you'll be greeted with new "magic" dashboards for some of the libraries or other parts of your stack which are detected.
AppSignal will collect the most useful metrics for libraries and other parts of your stack, and magically create dashboards. These new dashboards will show up in AppSignal and provide more insights without having to set up these metrics yourself.
For this first release we've added metric collection and dashboards for the following integrations:
- Queue length, queue latency, job duration, job statuses, memory usage, etc.
- Query durations (mean, 90th percentile, 95th percentile and count).
- Threads, workers, request connections, etc.
- Erlang VM
- Host specific metrics about IO, schedulers, processes and memory.
Under the surface: Minutely probes
Our dashboard detection makes use of the minutely probes mechanism (Ruby / Elixir). This new feature allows you to register a Ruby block, class or Erlang function that collects and sends metrics to us.
This probe is called every 60 seconds with the other registered probes. You can also use this mechanism yourself to periodically send metrics from your app to AppSignal.
# Ruby example # config/initializers/appsignal.rb or a file that's loaded on boot Appsignal::Minutely.probes.register :my_probe, lambda do Appsignal.set_gauge("database_size", 10) end
# Elixir example defmodule MyProbe do def call do Appsignal.set_gauge("database_size", 10) end end # Register this in your app's `MyApp.Application/start/2` function Appsignal.Probes.register(:erlang, &MyProbe.call/0)
If you have feedback about these magic dashboards, are missing a metric or two for you favorite library, please let us know. Your input is extremely valuable to us!