TY - GEN
T1 - A Modular Approach to Calculate Service-Based Maintainability Metrics from Runtime Data of Microservices
AU - Bogner, Justus
AU - Schlinger, Steffen
AU - Wagner, Stefan
AU - Zimmermann, Alfred
PY - 2019
Y1 - 2019
N2 - While several service-based maintainability metrics have been proposed in the scientific literature, reliable approaches to automatically collect these metrics are lacking. Since static analysis is complicated for decentralized and technologically diverse microservice-based systems, we propose a dynamic approach to calculate such metrics from runtime data via distributed tracing. The approach focuses on simplicity, extensibility, and broad applicability. As a first prototype, we implemented a Java application with a Zipkin integrator, 23 different metrics, and five export formats. We demonstrated the feasibility of the approach by analyzing the runtime data of an example microservice-based system. During an exploratory study with six participants, 14 of the 18 services were invoked via the system’s web interface. For these services, all metrics were calculated correctly from the generated traces.
AB - While several service-based maintainability metrics have been proposed in the scientific literature, reliable approaches to automatically collect these metrics are lacking. Since static analysis is complicated for decentralized and technologically diverse microservice-based systems, we propose a dynamic approach to calculate such metrics from runtime data via distributed tracing. The approach focuses on simplicity, extensibility, and broad applicability. As a first prototype, we implemented a Java application with a Zipkin integrator, 23 different metrics, and five export formats. We demonstrated the feasibility of the approach by analyzing the runtime data of an example microservice-based system. During an exploratory study with six participants, 14 of the 18 services were invoked via the system’s web interface. For these services, all metrics were calculated correctly from the generated traces.
UR - http://www.scopus.com/inward/record.url?scp=85076582290&partnerID=8YFLogxK
U2 - 10.1007/978-3-030-35333-9_34
DO - 10.1007/978-3-030-35333-9_34
M3 - Conference contribution
SN - 9783030353322
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 489
EP - 496
BT - Product-Focused Software Process Improvement - 20th International Conference, PROFES 2019, Proceedings
A2 - Franch, X.
A2 - Männistö, T.
A2 - Martínez-Fernández, S.
PB - Springer
T2 - 20th International Conference on Product-Focused Software Process Improvement, PROFES 2019
Y2 - 27 November 2019 through 29 November 2019
ER -