Created
February 27, 2013 01:12
-
-
Save flores/5044011 to your computer and use it in GitHub Desktop.
rootcause.dumbaas.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var app = express(); | |
app.get('/', function(req, res){ | |
var rootcause = [ | |
"dns servers", | |
"ops team", | |
"developers", | |
"quality assurance team", | |
"noc", | |
"network", | |
"Carlo", | |
"computer machines", | |
"monitoring", | |
"whiskey supply", | |
"BGP announcements", | |
"backend services", | |
"humans", | |
"availability zone", | |
"cloud", | |
"software", | |
"power systems" | |
]; | |
res.send('Hello! Yesterday we experienced an issue with our ' + rootcause[Math.floor(Math.random()*rootcause.length)] + ' which led to a problem with dumbaas.com Of course, our monitoring systems noticed it immediately and our crack team restored services as quickly as possible. We are sorry for the inconvenience.'); | |
}); | |
console.log("let's go!"); | |
app.listen(5050); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment