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.
20th International Conference on Product-Focused Software Process Improvement (PROFES'19)
year
2019
pages
489--496
publisher
Springer Berlin Heidelberg
file
:C$\backslash$:/Users/JREB/AppData/Local/Mendeley Ltd./Mendeley Desktop/Downloaded/Bogner et al. - 2019 - A Modular Approach to Calculate Service-Based Maintainability Metrics from Runtime Data of Microservices.pdf:pdf
%0 Book Section
%1 Bogner2019-PROFES
%A Bogner, Justus
%A Schlinger, Steffen
%A Wagner, Stefan
%A Zimmermann, Alfred
%B 20th International Conference on Product-Focused Software Process Improvement (PROFES'19)
%C Barcelona, Spain
%D 2019
%I Springer Berlin Heidelberg
%K iste-se myown
%P 489--496
%R 10.1007/978-3-030-35333-9_34
%T A Modular Approach to Calculate Service-Based Maintainability Metrics from Runtime Data of Microservices
%U http://link.springer.com/10.1007/978-3-030-35333-9\_34
%X 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.
@incollection{Bogner2019-PROFES,
abstract = {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.},
added-at = {2020-06-17T16:10:48.000+0200},
address = {Barcelona, Spain},
author = {Bogner, Justus and Schlinger, Steffen and Wagner, Stefan and Zimmermann, Alfred},
biburl = {https://puma.ub.uni-stuttgart.de/bibtex/23bed760302bc95c6ffc41fca685d6115/justusbogner},
booktitle = {20th International Conference on Product-Focused Software Process Improvement (PROFES'19)},
doi = {10.1007/978-3-030-35333-9_34},
file = {:C$\backslash$:/Users/JREB/AppData/Local/Mendeley Ltd./Mendeley Desktop/Downloaded/Bogner et al. - 2019 - A Modular Approach to Calculate Service-Based Maintainability Metrics from Runtime Data of Microservices.pdf:pdf},
interhash = {188c66f38a8702225c167e42abbda0ac},
intrahash = {3bed760302bc95c6ffc41fca685d6115},
keywords = {iste-se myown},
pages = {489--496},
publisher = {Springer Berlin Heidelberg},
timestamp = {2021-02-17T12:00:17.000+0100},
title = {{A Modular Approach to Calculate Service-Based Maintainability Metrics from Runtime Data of Microservices}},
url = {http://link.springer.com/10.1007/978-3-030-35333-9{\_}34},
year = 2019
}