中文

SmellDoc: Extending Elastic Stack for Microservice Bad Smell Detection and Visualization

软件工程 2026-05-26 v1

摘要

Microservices have become a mainstream architectural paradigm, yet microservice bad smells can significantly harm maintainability and performance. Existing detection tools often produce obscure outputs and lack effective integration with runtime observability, making it difficult for operators to interpret results and take timely action. To address this gap, we propose SmellDoc, a customized framework based on Elastic Stack. SmellDoc extends the native observability dashboard with a microservice bad smell detection plugin, integrating detection, knowledge, and health monitoring. It introduces a Custom-Business-Collector to capture business-level metrics, a Re-integration Collector to aggregate heterogeneous runtime data, and detection components that combine static and runtime analyses. SmellDoc supports a knowledge base of 84 smell types and enables detection of 24 representative smells across architectural, runtime, and performance categories. Results are visualized in Kibana through multiple views, providing operators with actionable insights. Case studies on a benchmark microservice system demonstrate that SmellDoc is effective and usable in detecting, visualizing, and analyzing smells, thus enhancing runtime observability and accelerating troubleshooting to maintain a high level of Quality of Service.

关键词

引用

@article{arxiv.2605.24471,
  title  = {SmellDoc: Extending Elastic Stack for Microservice Bad Smell Detection and Visualization},
  author = {Yongchao Xing and Weipan Yang and Yiming Lv and Dianhui Chu and Zhiying Tu},
  journal= {arXiv preprint arXiv:2605.24471},
  year   = {2026}
}

备注

Accepted as a demo paper at ICSOC 2025 Demonstrations and Resources Track.5 pages, 3 figures