From 4d84465012b50cf1c23fa3e922283c6a1c93ad23 Mon Sep 17 00:00:00 2001 From: logan <444193+brainsnail@users.noreply.github.com> Date: Tue, 9 Feb 2021 17:05:10 -0800 Subject: [PATCH] Update link to net/http pprof source --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ebdfe4d..277361b 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ I've just started a new job at [Datadog](https://www.datadoghq.com/) to work on - [Diagnostics](https://golang.org/doc/diagnostics.html): Has a very good overview over the available profiling and tracing facilities but doesn't go into a lot of depth. - [runtime/pprof](https://golang.org/pkg/runtime/pprof/#Profile): Lists the available profiles and has a little more explanation about what kind of data they produce. - [runtime](https://golang.org/pkg/runtime/): Has documentation on the various control knobs and pprof facilities, e.g. `MemProfileRate`. - - [net/http/pprof](net/http/pprof): Not a lot of docs, but diving into the code from there shows how the various profilers can be started/stopped on demand. + - [net/http/pprof](https://golang.org/src/net/http/pprof/pprof.go): Not a lot of docs, but diving into the code from there shows how the various profilers can be started/stopped on demand. - JDB - [Profiler labels in Go](https://rakyll.org/profiler-labels/): An introduction to using pprof labels and how they allow you to add additional context to your profiles. - [Custom pprof profiles](https://rakyll.org/custom-profiles/): Example for using custom profiles, shows tracking open/close events of a blob store and how to figure out how many blobs are open at a given time.