It is an OpenTelemetry (OTel) trace & metric instrumentation for http server implement with Gonic-gin. Gin Web Framework.
$ go get github.com/Cyprinus12138/otelgin
Metrics are reported based on Semantic Conventions for HTTP Metrics :
http.server.request.duration
http.server.request.body.size
http.server.response.body.size
http.server.active_requests
r := gin.New()
r.Use(otelgin.Middleware("my-server"))