π€ AI Summary
This work addresses the lack of general-purpose, user-friendly architectural support in current software systems for effectively observing sustainability metrics, such as energy consumption. To bridge this gap, the paper proposes the first standardized and modular architectural blueprint specifically designed for sustainability observability, integrating energy monitoring tools and enabling on-demand component configuration and automated deployment. The resulting framework delivers reusable and customizable observability capabilities, which were validated in two real-world scenarios. Empirical results demonstrate that the approach significantly lowers the barrier to implementing sustainability observability, thereby providing practical infrastructure for green software engineering.
π Abstract
Enabling observability in software systems brings many benefits. It can, for example, ease the identification of issues or the implementation of improvements. It is especially critical to be able to observe sustainability-related dimensions of systems to know and mitigate their impact. However, adding observability to a system, especially related to software sustainability, requires technical knowledge that may not be available in every project that would benefit from it. In this work, we propose an architectural blueprint along with its deployment code that can be used to facilitate the addition of observability in software systems. As a special case, it includes measuring the energy consumption of software. This toolkit provides support in defining which components are necessary for a given use case and for structuring their deployment. Moreover, we exemplify the addition of observability in two different use cases.