Example for generated server and client, instrumented with OpenTelemetry.
- Force
go.modto have ogen in tools.go - Generate code by gen.go
- OpenTelemetry setup boilerplate in go-faster/sdk
- Advanced
net/httpinstrumentation in internal/httpmiddleware
docker compose upYou can open Grafana dashboard on http://localhost:3000 to observe telemetry. For example, you can see client traces in TraceQL explore.