Skip to content

Commit eedfffa

Browse files
committed
feat: Add/Rework slurmctld statistics (#370)
* add slurmctld stats * remove scripts/slurm_msg_type_dict.py This is superseded by the fact that we now use libslurmfull and can access the rpc_num2string function provided there. * Backport Changes: Make it work with 23.11 (cherry picked from commit 5a2fcd5)
1 parent 6229e66 commit eedfffa

File tree

7 files changed

+1007
-46
lines changed

7 files changed

+1007
-46
lines changed

docs/reference/slurmctld.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ title: slurmctld
66
handler: python
77
options:
88
members: yes
9+
members_order: source

pyslurm/core/slurmctld/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55
CgroupConfig,
66
)
77
from .enums import ShutdownMode
8+
from .stats import (
9+
diag,
10+
Statistics,
11+
ScheduleExitStatistics,
12+
BackfillExitStatistics,
13+
RPCPending,
14+
RPCUser,
15+
RPCType,
16+
RPCPendingStatistics,
17+
RPCUserStatistics,
18+
RPCTypeStatistics,
19+
)
820
from .base import (
921
PingResponse,
1022
ping,

0 commit comments

Comments
 (0)