appsignal

Introducing Magic Dashboards

Tom de Bruijn

Tom de Bruijn on

Introducing Magic Dashboards

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.

Magic dashboards

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:

  • Sidekiq
    • Queue length, queue latency, job duration, job statuses, memory usage, etc.
  • MongoDB
    • Query durations (mean, 90th percentile, 95th percentile and count).
  • Puma
    • 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!

Write for our blog

Would you like to contribute to the AppSignal blog? We're looking for skilled mid/senior-level Ruby, Elixir, and Node.js writers.

Find out more and apply

Share this article

RSS
Tom de Bruijn

Tom de Bruijn

Tom is a developer at AppSignal, organizer, and writer from Amsterdam, The Netherlands.

All articles by Tom de Bruijn

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!

Discover AppSignal
AppSignal monitors your apps