mirror of
https://github.com/zix99/traefik-lazyload.git
synced 2025-12-24 06:28:31 +01:00
Some docs and cleanup
This commit is contained in:
2
main.go
2
main.go
@@ -94,7 +94,7 @@ func StatusHandler(w http.ResponseWriter, r *http.Request) {
|
||||
runtime.ReadMemStats(&stats)
|
||||
statusPageTemplate.Execute(w, StatusPageModel{
|
||||
Active: core.ActiveContainers(),
|
||||
Qualifying: core.QualifyingContainers(),
|
||||
Qualifying: core.QualifyingContainers(r.Context()),
|
||||
RuntimeMetrics: fmt.Sprintf("Heap=%d, InUse=%d, Total=%d, Sys=%d, NumGC=%d", stats.HeapAlloc, stats.HeapInuse, stats.TotalAlloc, stats.Sys, stats.NumGC),
|
||||
})
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user