liftedinit / liftedinit/many-rs
Add ability to retrieve chain ID from endpoints
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing info endpoint and neighborhood configuration in the Rust code, then trace how the Tendermint chain ID is available from genesis.json. Confirm how Talib consumes endpoint responses and define completion as the endpoint exposing the neighborhood's chain ID for metrics filtering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- prometheus, rust
- Domain
- api, blockchain
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100