Add S3 metrics

This commit is contained in:
2026-10-06 16:19:23 +02:00
parent 8a41307700
commit 9f8a985c63
4 changed files with 6 additions and 4 deletions

View File

@@ -285,11 +285,11 @@ onMount(() => {
<h3>Cache nodes</h3>
</section>
<PeerTable peers={status.peers.reduce((acc, val) => {if (val.role === "cache") {acc.push(val)}; return acc}, [])}/>
<PeerTable peers={status.peers.filter(peer => peer.services?.includes("cache"))}/>
<section>
<h3>Storage nodes</h3>
</section>
<PeerTable peers={status.peers.reduce((acc, val) => {if (val.role === "storage") {acc.push(val)}; return acc}, [])}/>
<PeerTable peers={status.peers.filter(peer => peer.services?.includes("storage"))}/>
<section>
<h3>Query statistics</h3>

View File

@@ -55,6 +55,8 @@ const groups: {
data_type: "duration",
},
{metric: "filesystem_index_walk_child", data_type: "number"},
{metric: "s3_request", data_type: "number"},
{metric: "s3_error_500", data_type: "number"},
]
}, {
title: "Task scheduler", expanded: false,

View File

@@ -45,7 +45,7 @@ export type Peer = {
ip: string
port: number
hostname: string
role: string
services: string[] | null
reachable: boolean
unreachable_count: number
latency: number