roadrunner-server / roadrunner-plugins

📦 Home for the roadrunner plugins
MIT License
25 stars 9 forks source link

feat(http, metrics): use metrics as middleware #122

Closed rustatian closed 2 years ago

rustatian commented 2 years ago

Reason for This PR

ref: #116 (partly)

Description of Changes

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

PR Checklist

[Author TODO: Meet these criteria.] [Reviewer TODO: Verify that these criteria are met. Request changes if not]

codecov[bot] commented 2 years ago

Codecov Report

Merging #122 (251efce) into master (f6db990) will decrease coverage by 0.00%. The diff coverage is 92.95%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
- Coverage   65.29%   65.29%   -0.01%     
==========================================
  Files         134      135       +1     
  Lines       10780    10822      +42     
==========================================
+ Hits         7039     7066      +27     
- Misses       3036     3048      +12     
- Partials      705      708       +3     
Impacted Files Coverage Δ
http/middleware/prometheus/writer.go 71.42% <ø> (ø)
http/middleware/prometheus/plugin.go 92.53% <92.53%> (ø)
http/metrics.go 100.00% <100.00%> (ø)
http/plugin.go 76.97% <100.00%> (-1.33%) :arrow_down:
redis/pubsub/channel.go 81.25% <0.00%> (-6.25%) :arrow_down:
redis/pubsub/pubsub.go 72.86% <0.00%> (-2.33%) :arrow_down:
amqp/amqpjobs/item.go 73.28% <0.00%> (-1.37%) :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 f6db990...251efce. Read the comment docs.