-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add metrics reader interface and gen proto #2977
Add metrics reader interface and gen proto #2977
Conversation
Signed-off-by: albertteoh <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2977 +/- ##
==========================================
+ Coverage 95.90% 95.96% +0.06%
==========================================
Files 223 223
Lines 9720 9720
==========================================
+ Hits 9322 9328 +6
+ Misses 328 324 -4
+ Partials 70 68 -2
Continue to review full report at Codecov.
|
proto-gen/api_v2/service.pb.go
Outdated
@@ -0,0 +1,2062 @@ | |||
// Code generated by protoc-gen-gogo. DO NOT EDIT. |
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.
service.pb.go
is an odd name
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.
yeah, I'd originally tried query.proto
but protoc
complains about filenames shadowing one another with the existing query.proto
, which is why I chose service.proto
but agree it could be better named.
I've gone with metricsquery.proto
. Let me know if you prefer another name.
storage/metricsstore/interface.go
Outdated
"context" | ||
"time" | ||
|
||
"github.com/jaegertracing/jaeger/proto-gen/api_v2" |
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.
perhaps we should move the gen-types under api_v2/metrics?
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.
+1
Signed-off-by: albertteoh <[email protected]>
Signed-off-by: albertteoh <[email protected]>
Signed-off-by: albertteoh [email protected]
Which problem is this PR solving?
Short description of the changes