How to use the librato-node.stop function in librato-node

To help you get started, we’ve selected a few librato-node examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ello / webapp / src / server / entrypoint-queue.js View on Github external
process.once('SIGTERM', () => {
  clearInterval(libratoReporter)
  librato.stop()
  queue.shutdown(15000, (err) => {
    console.log('Kue shutting down: ', err || 'OK')
    process.exit(0)
  })
})
process.once('uncaughtException', (err) => {

librato-node

A node.js client for Librato Metrics (http://metrics.librato.com/)

MIT
Latest version published 4 years ago

Package Health Score

46 / 100
Full package analysis