forked from jeffsu/upbeat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
67 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,50 @@ | ||
# Upbeat is a high performance healthcheck/dashboard based in node | ||
# Upbeat | ||
|
||
Upbeat is a high performance node-based healthcheck/dashboard. Upbeat allows you to run health checks and provides a dashboard to chart the performance. It also allows you to proxy and cache these health checks so they don't tax your system. You can now reduces the number of health checks to a service from O(N) to O(1). | ||
|
||
## Installation | ||
|
||
As executable | ||
```bash | ||
npm install -g upbeat | ||
``` | ||
|
||
Run upbeat | ||
```bash | ||
upbeat config.yml | ||
``` | ||
|
||
As library | ||
```bash | ||
npm install upbeat | ||
``` | ||
|
||
```js | ||
var upbeat = require('upbeat'); | ||
var server = new upbeat.Server(configObject); | ||
server.run(); | ||
``` | ||
|
||
## Configuration | ||
|
||
Quickstart config: | ||
|
||
```yaml | ||
dashboard: | ||
port: 2468 | ||
|
||
sync: | ||
redis: | ||
port: 6379 | ||
host: localhost | ||
|
||
services: | ||
google: | ||
www: | ||
strategy: http | ||
url: https://www.google.com | ||
connection: | ||
strategy: tcp | ||
host: google.com | ||
port: 80 | ||
``` |
This file contains 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
This file contains 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
This file contains 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