forked from MapComplete/MapComplete
Show recent graph of munin
This commit is contained in:
parent
9ab53188ec
commit
c5aac6962d
1 changed files with 4 additions and 1 deletions
|
@ -429,6 +429,9 @@
|
||||||
enableTrafficLight.addCallbackAndRunD((_) => {
|
enableTrafficLight.addCallbackAndRunD((_) => {
|
||||||
setTrafficLight(all.data)
|
setTrafficLight(all.data)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
let now = Math.round(new Date().getTime() / 60000) * 60
|
||||||
|
let oneDayAgo = now - 2 * 24 * 60 * 60
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1>MapComplete status indicators</h1>
|
<h1>MapComplete status indicators</h1>
|
||||||
|
@ -458,7 +461,7 @@
|
||||||
</a>
|
</a>
|
||||||
<img
|
<img
|
||||||
style="width: 80rem"
|
style="width: 80rem"
|
||||||
src="https://munin.openstreetmap.fr/munin-cgi/munin-cgi-graph/osm37.openstreetmap.fr/blur.vm.openstreetmap.fr/nvidia_gpu_power-pinpoint=1743785672,1743893672.png?&lower_limit=&upper_limit=&size_x=800&size_y=400" />
|
src={`https://munin.openstreetmap.fr/munin-cgi/munin-cgi-graph/osm37.openstreetmap.fr/blur.vm.openstreetmap.fr/nvidia_gpu_power-pinpoint=${oneDayAgo},${now}.png?&lower_limit=&upper_limit=&size_x=800&size_y=400`} />
|
||||||
<button
|
<button
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
fetch(Constants.ErrorReportServer, {
|
fetch(Constants.ErrorReportServer, {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue