liftedinit / many-rs

Rust libraries for the Many Protocol
Apache License 2.0
5 stars 11 forks source link

Add ability to retrieve chain ID from endpoints #377

Open jgryffindor opened 1 year ago

jgryffindor commented 1 year ago

It would be useful to retrieve the tendermint chain ID from an info endpoint for a neighborhood.

Alternatives We would need to manually pass the chain ID into the neighborhood config when adding them to Talib.

Additional Context For example, when building infrastructure, we can label a node's metrics exporters using the tendermint chain ID from genesis.json. When querying Prometheus metrics through Talib, we can then dynamically pass the neighborhood's chain ID into the query and filter neighborhood metrics.