[PATCH 0/6] monitoring: restructure into modular architecture and extend workflow coverage
Daniel Gomez <[email protected]>
| Newsgroups | dev.linux.lists.kdevops |
|---|---|
| Message-ID | <[email protected]> |
This patch series restructures kdevops monitoring from a monolithic architecture into a modular, extensible framework, similar to the recent work done in other playbooks such as bootlinux or guestfs. Also, expand workflow coverage to include blktests and sysbench support. The modular design allows to have dedicated monitor Ansible code which makes it easier to maintain in the long run. Use the top level role files as orchestrators for the individual monitors. Note: I have a new monitor built on top of this refactor using the same pattern. However, I realized that we can make it even easier if we switch to systemd services. We get journal support as well as proper service lifecycle management, etc. I think, this would simplify the implementations significantly and provide more robust monitoring infrastructure for production environments. I'm not planning to send a conversion yet but I figured I'd mentioned it for discussion and future possible work path. Signed-off-by: Daniel Gomez <[email protected]> --- Daniel Gomez (6): monitoring: restructure tasks into modular architecture blktests: add monitoring framework integration monitoring: restructure monitor_collect_only.yml to use modular architecture blktests: add monitor-results support for interim monitoring sysbench: add monitoring framework integration sysbench: add monitor-results support for interim monitoring docs/monitoring.md | 2 + playbooks/roles/blktests/tasks/main.yml | 14 ++ playbooks/roles/monitoring/tasks/common/setup.yml | 31 +++ .../roles/monitoring/tasks/monitor_collect.yml | 207 +-------------------- .../monitoring/tasks/monitor_collect_only.yml | 169 ++--------------- playbooks/roles/monitoring/tasks/monitor_run.yml | 81 +------- .../tasks/monitors/folio_migration/collect.yml | 147 +++++++++++++++ .../monitors/folio_migration/collect_only.yml | 91 +++++++++ .../folio_migration}/files/plot_migration_stats.py | 0 .../tasks/monitors/folio_migration/run.yml | 68 +++++++ playbooks/roles/sysbench/tasks/main.yaml | 12 ++ workflows/blktests/Makefile | 15 +- workflows/sysbench/Makefile | 9 +- 13 files changed, 413 insertions(+), 433 deletions(-) --- base-commit: b4a78d93f0d1629e5429d331f8e7137983adc105 change-id: 20250916-monitoring-refactor-201450218e1e prerequisite-change-id: 20250915-arm64-support-40cc057812a5:v1 prerequisite-patch-id: 81199f6b95bbe5be2782de0489c99f06880550b6 prerequisite-patch-id: d9aa3beeb4b536e9411fde883337fcd0b36251be prerequisite-patch-id: 1892cf469492cf2654dd74dd2f0a08a00252e4c3 prerequisite-patch-id: f2b4437e79012b399bd095f129679e5867a0532e prerequisite-patch-id: 3619e86a1d4041689106214f8e8439bff89cae37 Best regards, -- Daniel Gomez <[email protected]>