commit
8c4d463f1e
96 files changed
+3319
No files matched your search
@@ -0,0 +1,4 @@
|
||||
{{define "content"}}<div class="metrics-grid four"><div class="panel metric"><span class="metric-label">CACHE ENTRIES</span><strong>{{int .Data.Cache.Entries}}</strong><small>Capacity {{int .Data.Cache.Capacity}}</small></div><div class="panel metric"><span class="metric-label">HITS</span><strong>{{int .Data.Cache.Hits}}</strong><small>Cumulative hits</small></div><div class="panel metric"><span class="metric-label">MISSES</span><strong>{{int .Data.Cache.Misses}}</strong><small>Cumulative misses</small></div><div class="panel metric"><span class="metric-label">EVICTIONS</span><strong>{{int .Data.Cache.Evictions}}</strong><small>Cumulative evictions</small></div></div>
|
||||
<div class="dashboard-lower mt-panel"><section class="panel"><div class="panel-head"><h2>Cache counters</h2></div><div class="panel-body compact"><div class="data-row"><span>Entries</span><strong>{{int .Data.Cache.Entries}}</strong></div><div class="data-row"><span>Inserts</span><strong>{{int .Data.Cache.Inserts}}</strong></div><div class="data-row"><span>Expired</span><strong>{{int .Data.Cache.Expired}}</strong></div><div class="data-row"><span>Stale served</span><strong>{{int .Data.Cache.StaleServed}}</strong></div><div class="data-row"><span>Prefetches</span><strong>{{int .Data.Cache.Prefetches}}</strong></div></div></section>
|
||||
<section class="panel"><div class="panel-head"><h2>Flush domain suffix</h2></div><form method="post" action="/cache/flush" class="panel-body"><input type="hidden" name="_csrf" value="{{.CSRF}}"><input type="hidden" name="scope" value="domain"><p>Invalidate entries under a domain suffix. Cache contents cannot be enumerated over REST.</p><label class="field-label" for="flushDomain">Domain suffix</label><input class="field mono" id="flushDomain" name="domain" required placeholder="example.org"><button class="btn-ui mt-3" type="submit">Flush domain</button></form></section>
|
||||
<section class="panel danger-panel"><div class="panel-head"><h2>Flush entire cache</h2></div><form method="post" action="/cache/flush" class="panel-body"><input type="hidden" name="_csrf" value="{{.CSRF}}"><input type="hidden" name="scope" value="all"><p>Remove all DNS cache entries. This is a destructive action without an undo endpoint.</p><label class="field-label" for="flushConfirm">Type FLUSH ALL to confirm</label><input class="field mono" name="confirm" id="flushConfirm" required pattern="FLUSH ALL" autocomplete="off" placeholder="FLUSH ALL"><button class="btn-ui btn-danger-ui mt-3" type="submit">Flush all cache entries</button></form></section></div>{{end}}
|
||||
Reference in new issue
Block a user