Subtask #35915
closedrbd - Feature #35908: [rbd top] implement a CLI and dashboard tool to track image workloads
[rbd top] create shell OSD performance query class
0%
Description
The DaemonServer instance should possess a new OSDPerfMetricCollector (or other name) instance. This class will be responsible for recording the active queries (one one supported initially). The DaemonServer will send a new MMgrConfigure message (w/ the OSD query) with the OSD query (if any) when the message is destined for an OSD instance (i.e. don't attempt to populate the OSD query struct within the message for non-OSDs). Additionally, the OSDPerfMetricCollector should be able to kick off a new configure message via DaemonServer when the query is updated.
Since the OSD perf query struct will initially be blank, the optional can be used to indicate the query is disabled.