Subtask #36091
rbd - Feature #35908: [rbd top] implement a CLI and dashboard tool to track image workloads
[rbd top] collect client perf stats when query is enabled
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
The OSD's 'collect_perf_metrics' MgrClient callback should record whether or not the query is enabled/disabled and make it accessible to the PrimaryLogPG class. When enabled, the PrimaryLogPG::log_op_stats method (or similar) can record the per-client stats in the local PG instance. As a temporary implementation, the OSD, upon receipt of a "collect_perf_metrics" callback can look through each shard and then each PG within a shard to collect and reset the PG's period's metrics.
History
#1 Updated by Mykola Golub over 5 years ago
- Status changed from New to In Progress
- Assignee set to Mykola Golub
#2 Updated by Jason Dillaman over 5 years ago
- Status changed from In Progress to Resolved