Re:The current state of OpenTelemetry
by secondcoming on Friday January 12, 2024 @09:00PM
(#38976652)
protobufs have been around a lot longer than Go
Re:The current state of OpenTelemetry
by neonsunset on Saturday January 13, 2024 @11:49AM
(#38981720)
Annotations are somewhat cursed agree. The code generation part does not have to be painful though.
In fact, the tooling in Go isn't even an example of the easiest way to do it and requires you to do more steps than for example .NET where getting server boilerplate, fully working client or just generated POCO contracts from .proto boils down to
dotnet add package Grpc.Tools
<Protobuf Include="MyApiContracts.proto" /> (in .csproj)
I get it, Google made trade offs that work for them, and I agree with their position - but for someone at a smaller company working in a non-Go/Java/C programming language it was just a ton of friction for no benefit.