hyperledger / indy-node

The server portion of a distributed ledger purpose-built for decentralized identity.
https://wiki.hyperledger.org/display/indy
Apache License 2.0
687 stars 657 forks source link

Add additional resource and system metrics to the collection and output of `validator-info` #1670

Open WadeBarnes opened 3 years ago

WadeBarnes commented 3 years ago

The Technical Verification Script collects and analyses node resource and and system information in order to determine and report on a given node's level of compliance. To facilitate continuous health, diversity, and compliance monitoring the collection and analysis of the data should be separated. The metrics should be collected and reported by the node itself through validator-info, and the analysis should be performed within hyperledger/indy-node-monitor as discussed here; https://github.com/hyperledger/indy-node-monitor/issues/24#issuecomment-785888739. This would allow an organization to develop their own set of compliance metrics and write an indy-node-monitor plugin to analyze and report on a given node or network's level of compliance based on those rules.

As such the scope of this ticket would be to incorporate the metrics collected by the Technical Verification Script into validator-info so they become more readily available for continuous monitoring solutions.

While designing/implementing give some thought to any additional metrics that would support continuous security monitoring as discussed here; https://github.com/hyperledger/indy-node-monitor/issues/24#issuecomment-785905482

All information should be included in the output of validator-info on the node itself, and authenticated calls to the get-validator-info transaction.

This is to address the discussions regarding incorporating the collection of the additional data analyzed by the Technical Verification Script, in order to facilitate continuous compliance monitoring; https://github.com/hyperledger/indy-node-monitor/issues/24#issuecomment-785891414

Requirements: