eggjs / egg-prometheus

Prometheus plugin for Egg.js
https://egg-prometheus.vercel.app
MIT License
39 stars 9 forks source link

feat: add enableDefaultMetrics config #9

Closed popomore closed 5 years ago

popomore commented 5 years ago

The default metrics can be disabled

codecov[bot] commented 5 years ago

Codecov Report

Merging #9 into master will increase coverage by 0.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #9      +/-   ##
=========================================
+ Coverage   96.29%   96.3%   +0.01%     
=========================================
  Files          14      14              
  Lines         297     298       +1     
=========================================
+ Hits          286     287       +1     
  Misses         11      11
Impacted Files Coverage Δ
config/config.default.js 100% <ø> (ø) :arrow_up:
app.js 100% <100%> (ø) :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 3bdef48...12ec8e8. Read the comment docs.

gxcsoccer commented 5 years ago

+1

gxcsoccer commented 5 years ago

1.4.0