-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
use listeners to collect include metrics #11503
Conversation
ff7882e
to
28254d9
Compare
@@ -35,8 +33,12 @@ import ( | |||
// SpanOptions is a small helper type to make it easy to share the options helpers between | |||
// downstream functions that accept slices of trace.SpanStartOption and trace.EventOption. | |||
type SpanOptions []trace.SpanStartEventOption | |||
|
|||
type MetricsKey struct{} |
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.
adding a slice attribute made Metrics
non-comparable, so I introduced a dedicated context key struct
28254d9
to
8479c36
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #11503 +/- ##
==========================================
+ Coverage 58.33% 58.41% +0.07%
==========================================
Files 134 134
Lines 11521 11520 -1
==========================================
+ Hits 6721 6729 +8
+ Misses 4137 4131 -6
+ Partials 663 660 -3 ☔ View full report in Codecov by Sentry. |
8479c36
to
f143937
Compare
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
f143937
to
0aad322
Compare
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
What I did
collect
includes
usage relying on compose-go listenerRelated issue
require compose-spec/compose-go#576
(not mandatory) A picture of a cute animal, if possible in relation to what you did