Skip to content

codedoctor/hapi-routes-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status NPM Version Dependency Status NPM Downloads Issues HAPI 8.0 API Documentation

(C) 2014 Martin Wawrusch

NOTE: For hapi < 8 use version 1.0.x

Exposes a /status route which returns a json object similar to this:

{
  running: true,
  uptime: 12,
  memoryUsage: {
    rss: 57384960,
    heapTotal: 56160000,
    heapUsed: 19359568
  },
  versions: {
    http_parser: "1.0",
    node: "0.10.22",
    v8: "3.14.5.9",
    ares: "1.9.0-DEV",
    uv: "0.10.19",
    zlib: "1.2.3",
    modules: "11",
    openssl: "1.0.1e"
  },
  droneId: 41309
}

See also

and additionally

Contributing

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
  • Fork the project
  • Start a feature/bugfix branch
  • Commit and push until you are happy with your contribution
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
  • Please try not to mess with the package.json, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright

Copyright (c) 2014 Martin Wawrusch

About

Exposes a status route for your node.js/hapi projects.

Resources

Stars

Watchers

Forks

Packages

No packages published