What's really annoying about the latest version of OpenTelemetry is that they've redefined the Span, Tracer and TracerProvider interfaces to contain private methods, so that you no longer have the ability to fully implement them yourself. This is done to provide gradual forward compatibility, but I don't buy it. In my case I want to get explicit build failures, so that I know I need to extend my implementations.
Solve this by explicitly embedding embedded.* into our types. For gomock we now need to declare our very own wrappers. Very annoying.
What's really annoying about the latest version of OpenTelemetry is that they've redefined the Span, Tracer and TracerProvider interfaces to contain private methods, so that you no longer have the ability to fully implement them yourself. This is done to provide gradual forward compatibility, but I don't buy it. In my case I want to get explicit build failures, so that I know I need to extend my implementations.
Solve this by explicitly embedding embedded.* into our types. For gomock we now need to declare our very own wrappers. Very annoying.