From c0631963487790b901d281202df69282e5e2efd3 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 30 Jun 2020 17:50:27 +0200 Subject: dashboard/app: add memcache to admin interface Add memcache statistics and flush action to the admin page in preparation for actually using memcache in future commits. --- dashboard/app/admin.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'dashboard/app/admin.html') diff --git a/dashboard/app/admin.html b/dashboard/app/admin.html index 172070821..bce5d2cda 100644 --- a/dashboard/app/admin.html +++ b/dashboard/app/admin.html @@ -22,6 +22,30 @@ Main page.

+ {{with $.MemcacheStats}} + + + + + + + + + + + + + + + + + + + + +
Memcache stats:
HitsMissesByteHitsItemsBytesOldest
{{.Hits}}{{.Misses}}{{.ByteHits}}{{.Items}}{{.Bytes}}{{.Oldest}}flush
+ {{end}} + {{template "manager_list" $.Managers}} {{template "job_list" $.Jobs}} -- cgit mrf-deployment