Skip to content

Instantly share code, notes, and snippets.

View mateuszlitwin's full-sized avatar

Mateusz Litwin mateuszlitwin

View GitHub Profile
@mateuszlitwin
mateuszlitwin / pprof
Created February 29, 2020 01:01
Most of memory is allocated for labels slice and actual labels (strings).
Active filters:
ignore=lines
Showing nodes accounting for 144.91GB, 59.15% of 245GB total
Dropped 1435 nodes (cum <= 1.22GB)
Showing top 25 nodes out of 124
flat flat% sum% cum cum%
0 0% 0% 151.11GB 61.68% net/http.HandlerFunc.ServeHTTP /usr/local/go/src/net/http/server.go:2007
0 0% 0% 151.10GB 61.67% github.com/prometheus/prometheus/web.(*Handler).testReady.func1 /app/web/web.go:483
0 0% 0% 151.09GB 61.67% github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerResponseSize.func1 /app/vendor/github.com/prometheus/client_golang/prometheus/promhttp/instrument_server.go:196
0 0% 0% 151.09GB 61.67% github.com/prometheus/prometheus/util/httputil.CompressionHandler.ServeHTTP /app/util/httputil/compression.go:90