namespace EonaCat.LogStack.Telemetry;
public static class TelemetryDashboard
{
    public static string Html => @"<!doctype html>
<html><head><title>EonaCat Telemetry</title></head>
<body><h1>EonaCat LogStack Telemetry</h1>
<p>Connect to /telemetry to ingest.</p>
<script>
setInterval(async()=>{document.body.dataset.events=await (await fetch('/stats')).text()},1000);
</script></body></html>";
}
