We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Similar to #4243, we should return a struct from NewMetricProducer instead of the metric.Producer interface:
https://github.com/open-telemetry/opentelemetry-go/blob/main/bridge/opencensus/metric.go#L37
After #4567, we won't return an interface for the trace bridge: https://github.com/open-telemetry/opentelemetry-go/pull/4567/files#diff-ee40e63756bf77fde5a66bcf047e3bee7ae65207d633d2a4dc9139a8b7d6362fR38
Return a public struct instead of the metric.Producer interface.
The text was updated successfully, but these errors were encountered:
Fixed by #4583
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Problem Statement
Similar to #4243, we should return a struct from NewMetricProducer instead of the metric.Producer interface:
https://github.com/open-telemetry/opentelemetry-go/blob/main/bridge/opencensus/metric.go#L37
After #4567, we won't return an interface for the trace bridge: https://github.com/open-telemetry/opentelemetry-go/pull/4567/files#diff-ee40e63756bf77fde5a66bcf047e3bee7ae65207d633d2a4dc9139a8b7d6362fR38
Proposed Solution
Return a public struct instead of the metric.Producer interface.
The text was updated successfully, but these errors were encountered: