micro-analytics / micro-analytics-cli

Public analytics as a Node.js microservice. No sysadmin experience required! 📈
MIT License
734 stars 39 forks source link

Implement /_healthcheck #66

Closed relekang closed 7 years ago

relekang commented 7 years ago

This checks the health of the adapter and present it with meta information about the deployment.

Fixes #55

codecov-io commented 7 years ago

Codecov Report

Merging #66 into master will increase coverage by 2.06%. The diff coverage is 75%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #66      +/-   ##
=========================================
+ Coverage   72.03%   74.1%   +2.06%     
=========================================
  Files           6       7       +1     
  Lines         118     139      +21     
  Branches       25      32       +7     
=========================================
+ Hits           85     103      +18     
- Misses         31      34       +3     
  Partials        2       2
Impacted Files Coverage Δ
src/index.js 0% <0%> (ø) :arrow_up:
src/healthcheck.js 100% <100%> (ø)
src/db.js 100% <100%> (ø) :arrow_up:
src/handler.js 72.54% <64.7%> (+0.04%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 334fe5a...8e3e68e. Read the comment docs.

mxstbr commented 7 years ago

We might need some docs for this?

relekang commented 7 years ago

Oh yeah, forgot 😅 Will fix