Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make website mobile friendly #1815

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Add keys to iterated components
CannonLock committed Dec 16, 2024
commit efdba92d8abbd65e8f41412639b615b6f0234dab
4 changes: 4 additions & 0 deletions web_ui/frontend/app/director/metrics/page.tsx
Original file line number Diff line number Diff line change
@@ -31,22 +31,26 @@ const Page = () => {
<Grid container spacing={1}>
{[
<BytesMetricBoxPlot
key={'bytes'}
metric={'go_memstats_alloc_bytes'}
title={'Server Memory Usage'}
/>,
<MetricBoxPlot
key={'cpu'}
metric={
'avg by (server_name) (irate(process_cpu_seconds_total[${range}]))'
}
title={'CPU Usage by Core'}
/>,
<MetricBoxPlot
key={'threads'}
metric={
'sum by (server_name) (sum_over_time(xrootd_server_connection_count[${range}])) / sum by (server_name) (count_over_time(xrootd_server_connection_count[${range}]))'
}
title={'XRootD Server Connections'}
/>,
<MetricBoxPlot
key={'scheduler'}
metric={
'sum by (server_name) (sum_over_time(xrootd_sched_thread_count[${range}])) / sum by (server_name) (count_over_time(xrootd_sched_thread_count[${range}]))'
}