SkeLLLa / fastify-metrics

Prometheus metrics exporter for Fastify
https://savelife.in.ua/en/donate-en/
MIT License
100 stars 33 forks source link

feat(upgrade): fastify v4 support #48

Closed SkeLLLa closed 2 years ago

SkeLLLa commented 2 years ago

fastify v4 support

major refactor new config

See readme for details

BREAKING CHANGE: new configuration (incompatible with all previous versions)

Closes #44, #41, #10, #42, #45, #46

codecov[bot] commented 2 years ago

Codecov Report

Merging #48 (a4d96ba) into master (409f574) will increase coverage by 24.09%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##           master       #48       +/-   ##
============================================
+ Coverage   75.90%   100.00%   +24.09%     
============================================
  Files           1         2        +1     
  Lines          83       123       +40     
  Branches       36        48       +12     
============================================
+ Hits           63       123       +60     
+ Misses         18         0       -18     
+ Partials        2         0        -2     
Impacted Files Coverage Δ
src/fastify-metrics.ts 100.00% <100.00%> (ø)
src/index.ts 100.00% <100.00%> (+24.09%) :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 2b32aa3...a4d96ba. Read the comment docs.