4 ms·
you can use opentelemetry to get traces and metrics for golang net/http, but since I'm not using it I have no idea what metrics are already supported. btw. goo
by merb 4y ago
you can use opentelemetry to get traces and metrics for golang net/http, but since I'm not using it I have no idea what metrics are already supported.
btw. google does use golang services at scale (I'm not a googler) but they probably do it like they do it with appengine and only limit a certain amount of req/s per service
- derefr 4y ago> you can use opentelemetry to get traces and metrics for golang net/http Yes, but not server-internal metrics, as IIRC the telemetry provider plugs into http.Server as a middleware. It only exposes the kinds of metrics you could calculate yourself in a handler; it doesn’t expose any of the “good stuff” (e.g. work queues, accept(2) latency, etc.)