-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[API EPIC 3/4] SDK Wrapper #2586
[API EPIC 3/4] SDK Wrapper #2586
Conversation
The Moved compoents are: - metric/metrictest - metric/number - metric/internal/registry - metric/sdkapi
cb9677b
to
45e799a
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.
💯
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.
Just nits. Probably should be handled later.
I was going to pull these changes into one on the end if you are ok with that @dashpole. |
return a, nil | ||
} | ||
|
||
func (m *Accumulator) RegisterCallback(insts []instrument.Asynchronous, f func(context.Context)) error { |
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.
Missing doc string.
This is a series of patches to update the metrics API. Here is the diff against the previous step
This creates a wrapper to enable the use of the current SDK as an implementation of the new API. It does some work to remove now unneeded concepts because we access the API differently.