liftedinit / liftedinit/many-rs

Add ability to retrieve chain ID from endpoints

Open
#377 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.