update health to be more helpful
This commit is contained in:
parent
89d115b61d
commit
004def8fbb
7 changed files with 135 additions and 15 deletions
|
@ -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) => {
|
||||
|
|
19
services/api/src/html/ingest.html
Normal file
19
services/api/src/html/ingest.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue