getconversio / redis-metrics

Easy metric tracking and aggregation using Redis
http://getconversio.github.io/redis-metrics/
MIT License
28 stars 8 forks source link

Adds zeroing function #19

Closed jmnsf closed 6 years ago

jmnsf commented 6 years ago

Adds support for clearing counters.

codecov-io commented 6 years ago

Codecov Report

Merging #19 into master will decrease coverage by 1%. The diff coverage is 90.9%.

Impacted file tree graph

@@         Coverage Diff          @@
##           master   #19   +/-   ##
====================================
- Coverage     100%   99%   -1%     
====================================
  Files           5     5           
  Lines         267   300   +33     
  Branches       64    70    +6     
====================================
+ Hits          267   297   +30     
- Misses          0     3    +3
Impacted Files Coverage Δ
lib/utils.js 100% <100%> (ø) :arrow_up:
lib/counter.js 98.72% <90.62%> (-1.28%) :arrow_down:

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 28106bf...d2fcf9b. Read the comment docs.