文件名称:heartbeat:HTTP 服务和数据库的健康监控
文件大小:13KB
文件格式:ZIP
更新时间:2024-07-27 23:43:07
JavaScript
心跳 HTTP 服务和数据库的健康监控。 要求 > 0.10.x 您决定使用什么来通知、 Mandrill (电子邮件)、 Twilio (短信)或两者兼而有之。 如何使用 克隆 repo 并安装依赖项, $ git clone git://github.com/likeastore/heartbeat $ cd heartbeat $ npm install 在文件夹中创建index.js , module . exports = { connection : 'mongodb://localhost:27017/heartbeatdb' , interval : 10000 , logentries : { token : null } , monitor : { http : [ { url : 'https://likeastorea.c
【文件预览】:
heartbeat-master
----.jshintrc(814B)
----.gitignore(29B)
----app.js(109B)
----package.json(1KB)
----.npmrc(19B)
----README.md(4KB)
----config()
--------index.js(1KB)
----source()
--------db()
--------heartbeat.js(2KB)
--------notifiers()
--------utils()
--------transport.js(900B)
--------beats()
----.npmignore(15B)
----test()
--------spec.helper.js(66B)
--------heartbeat.spec.js(510B)
----.editorconfig(212B)