eggjs / egg-prometheus

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

fix: decouple from sofa-rpc #4

Closed gxcsoccer closed 6 years ago

gxcsoccer commented 6 years ago

去掉 sofa-rpc 的强绑定,转而依赖 rpc-base,这样所有 rpc 都可以得到默认的 metrics

codecov[bot] commented 6 years ago

Codecov Report

Merging #4 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master     #4   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines          80     80           
=====================================
  Hits           80     80
Impacted Files Coverage Δ
lib/sofa_rpc_client.js 100% <100%> (ø) :arrow_up:
lib/sofa_rpc_server.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 7cc516f...bf206d5. Read the comment docs.

gxcsoccer commented 6 years ago

1.0.2