func (rm runtimeMonitor) ServeHTTP(w http.ResponseWriter, r *http.Request) {
	m := new(runtime.MemStats)
	runtime.ReadMemStats(m)
	p := pprof.Lookup("goroutine")
	writeMemoryStats(w, m)
	fmt.Fprintln(w)
	writeGoroutineExpectations(w, rm.hasTLS)
	fmt.Fprintln(w)
	writeGoroutineStackTraces(w, p)
}
// ServeHTTP writes runtime information to the response.
ServeHTTP writes runtime information to the response.
// ServeHTTP writes runtime information to the response .
func (rm runtimeMonitor) ServeHTTP(w http.ResponseWriter, r *http.Request) {
	m := new(runtime.MemStats)
	runtime.ReadMemStats(m)
	p := pprof.Lookup("goroutine")
	writeMemoryStats(w, m)
	fmt.Fprintln(w)
	writeGoroutineExpectations(w, rm.hasTLS)
	fmt.Fprintln(w)
	writeGoroutineStackTraces(w, p)
}
func ( rm runtimeMonitor ) ServeHTTP ( w http . ResponseWriter , r * http . Request ) { m := new ( runtime . MemStats ) runtime . ReadMemStats ( m ) p := pprof . Lookup ( " " ) writeMemoryStats ( w , m ) fmt . Fprintln ( w ) writeGoroutineExpectations ( w , rm . hasTLS ) fmt . Fprintln ( w ) writeGoroutineStackTraces ( w , p ) }
ServeHTTP writes runtime information to the response.
ServeHTTP writes runtime information to the response .