motiv-labs / janus

An API Gateway written in Go
https://hellofresh.gitbooks.io/janus
MIT License
2.78k stars 318 forks source link

PT-1875 Add OpenCensus #369

Closed s4nji closed 5 years ago

s4nji commented 5 years ago

This PR adds metric collection and tracing with OpenCensus.

codecov[bot] commented 5 years ago

Codecov Report

Merging #369 into master will increase coverage by 0.76%. The diff coverage is 27.65%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #369      +/-   ##
==========================================
+ Coverage   39.73%   40.49%   +0.76%     
==========================================
  Files          75       75              
  Lines        2660     2615      -45     
==========================================
+ Hits         1057     1059       +2     
+ Misses       1541     1494      -47     
  Partials       62       62
Impacted Files Coverage Δ
pkg/jwt/handler.go 0% <ø> (ø) :arrow_up:
pkg/proxy/reverse_proxy.go 0% <0%> (ø) :arrow_up:
pkg/plugin/basic/handler.go 9.09% <0%> (ø) :arrow_up:
pkg/proxy/register.go 0% <0%> (ø) :arrow_up:
pkg/web/provider.go 0% <0%> (ø) :arrow_up:
pkg/middleware/stats_tagger.go 0% <0%> (ø)
pkg/web/api_handler.go 0% <0%> (ø) :arrow_up:
pkg/plugin/oauth2/handlers.go 0% <0%> (ø) :arrow_up:
pkg/config/specification.go 61.11% <100%> (-0.71%) :arrow_down:
pkg/plugin/oauth2/middleware.go 100% <100%> (ø) :arrow_up:
... and 3 more

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 3201979...9aa6b1c. Read the comment docs.