Skip to content

Latest commit

 

History

History

sample-dashboard

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ruby On Rails Performance Dashboard

A dashboard providing Ruby on Rails performance insights based on Free Software, ready to run inside your data-center.

Screenshot of the dashboard

By default it measures (in various forms) performance of:

  • Controller Actions
  • View/Partial Rendering
  • Database Queries
  • ActiveJobs
  • ActionMailers

The dashboards provide an overview and various ways to drill down into numbers on a per request or per action basis. Of course you can use all the awesome features that Influx (Downsampling/Data Retention), Grafana (Alerts, Annotations) and influxdb-rails (custom tags) provide and extend this to your needs. Use your freedom and run, copy, distribute, study, change and improve this software!

Requirements

To be able to measure performance of your Ruby on Rails application you need to have the following things available:

Installation

Once you have influx/grafana instances running in your infrastructure just import the dashboards from grafana.com.

You can also paste the .json files from this repository.

Demo

This repository includes a docker-compose demo setup that brings a simple rails app, influxdb and grafana.

Starting the demo services

Clone this repository and run

docker-compose up

Browse the sample app...

Go to http://0.0.0.0:4000 and do some things. Every request to the rails app will generate performance data in the demo.

...or Configure your own Rails app...

You can also use the dashboard with any other rails app you already have. Follow our install instructions, the default configuration works with the demo InfluxDB running on localhost:8086.

...then see the dashboards in action

Just go to http://0.0.0.0:3000 and log in with admin/admin.

Enjoy! ❤️