Created
July 22, 2019 20:03
-
-
Save rdumont/d5248d787fe0f9039c4f3053f33ad6ea to your computer and use it in GitHub Desktop.
Profile Go micro-services in Kubernetes with pprof
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func main() { | |
r := mux.NewRouter() | |
r.HandleFunc("/", serveHTTP) | |
r.Handle("/debug/", http.DefaultServeMux) | |
http.ListenAndServe(":8080", r) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment