• Stars
    star
    281
  • Rank 147,023 (Top 3 %)
  • Language
    Ruby
  • License
    Other
  • Created over 11 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Timeseries data monitoring framework

GitHub version

Overview

Rearview is a real-time monitoring framework that sits on top of Graphite's time series data. This allows users to create monitors that both visualize and alert on data as it streams from Graphite. The monitors themselves are simple Ruby scripts which run in a sandbox to provide additional security. Monitors are also configured with a crontab compatible time specification used by the scheduler. Alerts can be sent via email, pagerduty, or campfire.

rearview sample monitor

This is a port of the original scala version re-written in Ruby on Rails. Rearview has been running in production for over a year at LivingSocial.

Go here for a more detailed overview of rearview

Requirements

  • jvm 1.6+
  • jruby 1.7.5+
  • ruby manager (rvm or rbenv)
  • graphite
  • mysql/postgresql (or other supported database)

Getting Started

Get it

Download the latest release.

Database Support

Rearview comes with drivers for both mysql and postgresql. If you wish to use a differenct database select a supported jdbc driver and add it to the Gemfile and bundle install. See activerecord-jdbc-adapter site for more details.

Edit config/database.yml

Configure per your selected database driver and database connection settings. See Configuring Rails for more details. The installation defaults to common settings for mysql.

Sample configurations for both mysql (config/database.jdbcmysql.yml) and postgresql (config/database.jdbcpostgresql.yml) are available.

Run the setup script

$ bin/setup

If the setup script fails due to java.lang.ClassNotFoundException: javax/crypto/JceSecurity, please see issue #17 for a resolution to this problem.

Configuration

Before running rearview you must specify a few settings. The configuration file location is:

config/initializers/rearview.rb

You must set config.graphite_url and config.sandbox_exec for rearview to run properly. Most of the other settings you should be able to leave as is.

Verify configuration

$ rake RAILS_ENV=production rearview:config:verify

Running

$ foreman start

This will start rearview on port 3000 (http://localhost:3000).

Sign-in with the default user admin@localhost and password admin

Contributing

We encourage you to contribute to Rearview. Please check out the rearview-engine repository for more details.

Team

NameRoleTwitterGitHub
Steve AkersProduct Manager@SteveAkershttps://github.com/steveakers
Trent AlbrightArchitect/Lead developer@trent_albrighthttps://github.com/talbright
Ian QuattlebaumLead Front End developer@ianqueuehttps://github.com/ianqueue
Jeff SimpsonArchitect/Lead developer@fooblahblahhttps://github.com/fooblahblah

More Repositories

1

ls-pair

Advice and some software tools for doing terminal-based remote pair programming
Ruby
310
star
2

rake-pipeline

An extension to Rake for dealing with a directory of inputs, a number of filters, and a directory of outputs
Ruby
276
star
3

keyspace

Capability-based secure key management and credential storage
Ruby
122
star
4

api-design

LivingSocial API Design Guide
107
star
5

HiveSwarm

Helpful user defined fuctions / table generating functions for Hive
Java
101
star
6

ankusa

Text classifier in Ruby that uses Hadoop/HBase, Mongo, or Cassandra for storage. DEPRECATED, use https://github.com/bmuller/ankusa
Ruby
92
star
7

LSCTableView

Objective-C
77
star
8

bundler-patch

Update your gems conservatively to deal with vulnerable gems or just get more current.
Ruby
65
star
9

ganapati

Ruby interface to Hadoop's HDFS via Thrift
Ruby
50
star
10

excelinator

convert your csv data and html tables to excel data.
Ruby
42
star
11

abanalyzer

A/B test analysis library for Ruby - performs Chi-Square tests and G-tests on A/B results
Ruby
40
star
12

lein-dependency-check

A leiningen plugin for detecting vulnerable project dependencies
Clojure
33
star
13

imprint

Logging trace support. Request Tracing, and cross app tracing support.
Ruby
20
star
14

flatfoot

Discover dead view files in your app. Track view layer render usage
Ruby
20
star
15

factory_faster

FactoryFaster optimizes your Rails app's FactoryGirl usage by replacing create with build where it's safe to do so.
Ruby
18
star
16

newrelic_route_check

Compares New Relic controller_summary.csv to the routes defined in a Rails app
Ruby
15
star
17

rails-googleapps-auth

Rails plugin for OpenID auth against Google apps for your domain accounts
Ruby
14
star
18

humperdink

Ruby
11
star
19

smokescreen

Quickly run critical tests on your app, recently changed tests, or tests related to recent changed files
Ruby
10
star
20

swagger_yard-rails

Rails engine to parse and render json for Swagger UI
Ruby
9
star
21

sneaker

Object-oriented jQuery in Coffeescript
CoffeeScript
8
star
22

houdah

Ruby lib for interacting with a Hadoop JobTracker / TaskTrackers
Ruby
8
star
23

resque-web

Rails-based web interface to Resque
Ruby
7
star
24

hashboard

A dashboard for Hadoop
Ruby
7
star
25

rearview-engine

Rails engine for rearview. This project is for rearview developers only. Users should go to livingsocial/rearview.
Ruby
7
star
26

clj-scribe

Scribe logging client for Clojure
Java
6
star
27

klomp

Simplest possible Stomp messaging client
Ruby
5
star
28

impaler

Ruby
4
star
29

boulder-coding-challenges

Coding challenges for Boulder Livingsocial
4
star
30

big_decimal_helper

Helpers for working with BigDecimal values
Ruby
3
star
31

hypercuke

Ruby
2
star
32

cylowess

Python
2
star
33

no_moss

Keep test subjects and doubles in sync to keep your test coverage trustworthy
Ruby
1
star
34

livingsocial.github.com

LivingSocial blog
1
star
35

loudmouth

loudmouth by Pete Campbell
CoffeeScript
1
star
36

braintree_users

Cobbled together Ruby code to help manage user accounts in Braintree.
Ruby
1
star
37

attribute-pair-generator

attribute-pair-generator
Ruby
1
star