aboutsummaryrefslogtreecommitdiffstats
path: root/ops
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2021-12-08 11:44:08 +0100
committerDrew DeVault <sir@cmpwn.com>2021-12-08 11:44:08 +0100
commitc96551527056e4a4beb371234d506d175e374f4b (patch)
tree257ae53eeb0d5fb1c7b99d23967afefc0a6fe2b8 /ops
parenta87244e7263f12f5bd9e2d51c10255eaeda3d708 (diff)
downloadsr.ht-docs-c96551527056e4a4beb371234d506d175e374f4b.tar.gz
new page: ops/dashboards/git.sr.ht.md
Diffstat (limited to 'ops')
-rw-r--r--ops/dashboards/git.sr.ht.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/ops/dashboards/git.sr.ht.md b/ops/dashboards/git.sr.ht.md
new file mode 100644
index 0000000..4355fb3
--- /dev/null
+++ b/ops/dashboards/git.sr.ht.md
@@ -0,0 +1,9 @@
+# git.sr.ht operational dashboard
+
+<a href="https://metrics.sr.ht/graph?g0.expr=avg%20without%20(cpu)%20(rate(node_cpu_seconds_total%7Binstance%3D%22node.git.sr.ht%3A80%22%7D%5B5m%5D))&g0.tab=0&g0.stacked=1&g0.range_input=6h">
+ <img src="https://metrics.sr.ht/chart.svg?query=avg%20without%20(cpu)%20(rate(node_cpu_seconds_total{instance=%22node.git.sr.ht:80%22}[5m]))&stacked&since=30m&height=3&title=CPU%20utilization&label={{.mode}}" />
+</a>
+
+<a href="https://metrics.sr.ht/graph?g0.expr=rate(request_time_sum%7Binstance%3D%22git.sr.ht%3A443%22%7D%5B5m%5D)%20%2F%20rate(request_time_count%7Binstance%3D%22git.sr.ht%3A443%22%7D%5B5m%5D)&g0.tab=0&g0.stacked=1&g0.range_input=30m">
+ <img src="http://localhost:8142/chart.svg?query=rate(request_time_sum{instance%3D%22git.sr.ht%3A443%22}[5m])%20/%20rate(request_time_count{instance%3D%22git.sr.ht%3A443%22}[5m])&stacked&since=30m&label={{.route}}&height=3&title=Expensive%20routes" />
+</a>