https://github.com/runnable/hyperion
https://github.com/runnable/hyperion
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/runnable/hyperion
- Owner: Runnable
- License: mit
- Created: 2015-10-18T21:02:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-30T00:58:24.000Z (over 10 years ago)
- Last Synced: 2025-01-16T04:31:05.391Z (over 1 year ago)
- Language: JavaScript
- Size: 344 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
HYPERION
========
Distributed system checkpoint monitor service.
Design a sequence of `checkpoints` and alert if a step the sequence is not reached within a
defined timeframe.
```js
var Hyperion = require('hyperion');
hyperion = new Hyperion({
port: 3000,
sequences: {
'build-system': {
checkpoints: [{
name: 'worker1-start',
intervalSeconds: 30
}, {
name: 'worker1-complete',
intervalSeconds: 5
}, {
name: 'microservice1-message-received',
intervalSeconds: 60
}, {
name: 'microservice1-completed'
}]
},
'deploy-system': {
checkpoints: [{
...
}]
}
}
});
```
### POST /sequences/
```js
// Request body
{
"name": "build-system",
"meta": {},
"uuid": "" // key for checkpoint association
}
```
### POST /sequences/checkpoint
```js
{
"uuid": "001",
"name": "worker1-complete"
}
```