MystenLabs / mysticeti

Mysticeti: Low-Latency DAG Consensus with Fast Commit Path
Apache License 2.0
49 stars 25 forks source link

[refactor] allow passing the prometheus Registry down to validator #34

Closed akichidis closed 10 months ago

akichidis commented 10 months ago

In SUI the metrics are exposed and reported by its own prometheus server. To ensure that Mysticeti metrics will be visible as well we just need to allow injecting a pre-created Registry to Mysticeti. In the future the RegistryService of SUI could be passed, but no need for now.