Open
Description
The Parca agent doesn't handle "/" requests from parca-dev/parca-agent#2958.
go func() {
mux := http.NewServeMux()
mux.Handle("/metrics", promhttp.HandlerFor(reg, promhttp.HandlerOpts{}))
mux.HandleFunc("/debug/pprof/", pprof.Index)
mux.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
mux.HandleFunc("/debug/pprof/trace", pprof.Trace)
//nolint:gosec
if err = http.ListenAndServe(f.HTTPAddress, mux); err != nil {
log.Errorf("Serving pprof on %s failed: %s", f.HTTPAddress, err)
}
}()
But the doc still mentions about access the agent webpage.
Now we can view the active profilers by visiting http://localhost:7071:
Metadata
Metadata
Assignees
Labels
No labels