-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement fork.Factory #84
Conversation
Implement fork.Factory that deligates metrics with specific namespaces to different factory, otherwise default factory is used. Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #84 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 26 27 +1
Lines 695 709 +14
=========================================
+ Hits 695 709 +14
Continue to review full report at Codecov.
|
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
cc @yurishkuro |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, a few small comments
"github.com/uber/jaeger-lib/metrics/go-kit", | ||
"github.com/uber/jaeger-lib/metrics/go-kit/expvar", | ||
"github.com/uber/jaeger-lib/metrics/metricstest", | ||
"github.com/uber/jaeger-lib/metrics/prometheus", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
which version of dep
are you using? Ideally there should be no dependency changes in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dep:
version : v0.5.4
build date : 2019-09-29
git hash : 1f7c19e
go version : go1.13
go compiler : gc
platform : darwin/amd64
features : ImportDuringSolve=false
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
👍 |
Which problem is this PR solving?
Short description of the changes
specific namespaces to different factory, otherwise
default factory is used.