node.js - Management of REST services -
i have rest api different services , it's growing,built in sinatra , parts of in node js. it's going in sinatra.
how can manage efficiently rest webservices, check if down , relaunching api, monitor usage, etc? i've looked foreman, monit , god, i'm not sure 1 supported. love able manage both languages same software.
you can
- write simple shell script has loop of "curl" list of http endpoints , put crontab interval based checking.
- try collectd curl or other http related plugins periodically check responses. , can send results graphite/opentsdb persistence or visualization.
Comments
Post a Comment