update health to be more helpful

This commit is contained in:
41666 2022-12-10 22:01:27 -05:00
parent 89d115b61d
commit 004def8fbb
7 changed files with 135 additions and 15 deletions

View file

@ -48,7 +48,7 @@
<li>
<a
id="status_query_link"
href="/graphql?query={ health { database ingest ingestReachable } }"
href="/graphql?query={ health { database ingest ingestReachable worldsDisclaimer worlds { name status lastEvent } } }"
>Current system status</a
>
(<a
@ -61,7 +61,13 @@
health {
database
ingest
ingestReachable
ingestReachable
worldsDisclaimer
worlds {
name
status
lastEvent
}
}
}</code></pre>
<a
@ -236,10 +242,10 @@
</p>
<p>For help, please contact us in #api-dev on the PlanetSide 2 Discord.</p>
<p>
[<a href="https://github.com/genudine/saerro">github</a>] [<a
href="https://pstop.harasse.rs"
>pstop</a
>]
[<a href="/ingest.html">ingest stats</a>] [<a
href="https://github.com/genudine/saerro"
>github</a
>] [<a href="https://pstop.harasse.rs">pstop</a>]
</p>
<script>
const runQuery = async (linkId, resultId) => {

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<title>Ingest Stats - Saerro Listening Post</title>
<meta charset="utf-8" />
<style>
body {
font-family: monospace;
background-color: #010101;
color: #e0e0e0;
font-size: 1.25rem;
line-height: 1.6;
}
a {
color: #cead42;
text-decoration: none;
}
</style>
<h1>Ingest Stats</h1>
<p>sorry wip</p>