Add S3 metrics
This commit is contained in:
2
go.mod
2
go.mod
@@ -1,6 +1,6 @@
|
||||
module fornaxian.tech/nova_web
|
||||
|
||||
go 1.26
|
||||
go 1.27
|
||||
|
||||
replace (
|
||||
fornaxian.tech/nova_server => ../nova_server
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user