mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
30 lines
864 B
Plaintext
30 lines
864 B
Plaintext
![]() |
<!doctype html>
|
||
|
<html lang="en-US">
|
||
|
<head>
|
||
|
<title>Marginalia Search Status</title>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
<link rel="stylesheet" href="/style.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>Marginalia Search Status</h1>
|
||
|
|
||
|
{{#each measurements}}
|
||
|
<h2>{{name}}</h2>
|
||
|
|
||
|
{{#if isOnline}}
|
||
|
<p>Online: ✓</p>
|
||
|
<p>Request time: {{requestTimeMs}}</p>
|
||
|
<p>Avg request time: {{avgRequestTimeMs}}</p>
|
||
|
<p>Time since last outage: {{getTimeSinceLastOffline}} </p>
|
||
|
{{/if}}
|
||
|
{{#unless isOnline}}
|
||
|
<p>Online: ✗</p>
|
||
|
<p>Time since last online: {{getTimeSinceLastOnline}} </p>
|
||
|
{{/unless}}
|
||
|
|
||
|
<p>Percent online: {{percentOnline}}% </p>
|
||
|
<p>Num failures: {{numFailures}}</p>
|
||
|
<p>Num successes: {{numSuccesses}}</p>
|
||
|
{{/each}}
|
||
|
|
||
|
</body>
|