Merlyn Albery-Speyer created Resolvatron to address a specific class of customer database issues using Rails4 and Angular. I adopted his methodology and used it to capture bursts of activity I dubbed "sprouts".
sql ⇒ worker ⇒ sql ⇒ api ⇒ angular
Resolvatron watches production databases and assembles observations in its own diagnostic database. Angular monitors the latter with frequent restful queries.
Both Rails and Angular distribute code into separate directories for models, views and controllers as well as numerous configuration files, 12 total for my data.
Merlyn and I paired to add the worker and table I needed. I went back through these commits to write a number-to-screen, step-by-step wiki page that I still refer to when deciding where to tweak this system.