XRPLF / rippled

Decentralized cryptocurrency blockchain daemon implementing the XRP Ledger protocol in C++
https://xrpl.org
ISC License
4.51k stars 1.46k forks source link

Configurable prometheus exporter #4908

Open Tokeiito opened 8 months ago

Tokeiito commented 8 months ago

The introduction of configurable Prometheus exporters for metrics such as server_info, peers, and server_state would be a significant enhancement. This feature would allow users to tailor the exposed metrics according to their specific use cases. For internal purposes, a comprehensive set of metrics can be made available, encompassing all aspects of the system's performance and configuration. Conversely, when metrics are intended for external consumption, it may be prudent to offer configurations that enable the exclusion of sensitive information, such as peer addresses and port numbers, to safeguard the system's security and integrity.

Implementing this functionality would substantially benefit the community by eliminating the need for various custom solutions currently employed to achieve similar outcomes. It would streamline the process of monitoring and managing system performance, making it both more efficient and secure.

This proposal aims to foster a more flexible and secure environment for Prometheus monitoring, aligning with the diverse needs of our community. Your consideration and feedback on this suggestion would be greatly appreciated.

legleux commented 8 months ago

Extend metric types and insight into rippled operation/statehttps://github.com/XRPLF/rippled/issues/2962