Skip to content

webpunch/broken_window

Repository files navigation

BrokenWindow

This project rocks and uses MIT-LICENSE.

Installation

Add:

gem 'broken_window', github: 'webpunch/broken_window'

to your Gemfile

Run: rake broken_window:install:migrations && rake db:migrate

Add to your routes file:

mount BrokenWindow::Engine => "/status"

Create config/initializers/broken_window.rb to register your calculators:

BrokenWindow.register_calculators [
  BrokenWindow::Calculators::ExampleCalculator
]

Create your calculator:

module BrokenWindow
  module Calculators
    class ExampleCalculator
      def initialize(options = {})

      end

      def call
        # Thing to be calculated
      end

    end
  end
end

About

A monitoring system to ensure that we always stay on top of stuff that breaks. Not really ready for public use yet.

Resources

License

Stars

0 stars

Watchers

11 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors