A modular approach to calculate service-based maintainability metrics from runtime data of Microservices
- 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.
Author of HS Reutlingen | Bogner, Justus; Zimmermann, Alfred |
---|---|
DOI: | https://doi.org/10.1007/978-3-030-35333-9_34 |
ISBN: | 978-3-030-35333-9 |
Erschienen in: | Product-focused software process improvement : 20th International Conference, PROFES 2019, Barcelona, Spain, November 27-29, 2019, proceedings. - (Programming and software engineering ; 11915) |
Publisher: | Springer |
Place of publication: | Cham |
Editor: | Xavier Franch |
Document Type: | Conference proceeding |
Language: | English |
Publication year: | 2019 |
Tag: | Microservices; dynamic analysis; maintainability metrics |
Page Number: | 8 |
First Page: | 489 |
Last Page: | 496 |
PPN: | Im Katalog der Hochschule Reutlingen ansehen |
DDC classes: | 005 Computerprogrammierung, Programme, Daten |
Open access?: | Nein |
Licence (German): | ![]() |