Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Relayer Insights Dashboard Based on Chain Registry #3

Open
danbryan opened this issue Aug 25, 2024 · 0 comments
Open

Create Relayer Insights Dashboard Based on Chain Registry #3

danbryan opened this issue Aug 25, 2024 · 0 comments

Comments

@danbryan
Copy link
Contributor

danbryan commented Aug 25, 2024

Title: Create Relayer Insights Dashboard Based on Chain Registry

Description:

Objective:
Develop a dashboard that provides comprehensive insights into the relayer activities across Cosmos chains, leveraging data from the Cosmos chain registry, relayer software, and the Cosmos-Indexer.

Background:
The Cosmos chain registry contains RPC entries and chain details for over 100 Cosmos chains, including information about relayers. By integrating this data with relayer software like cosmos/relayer and hermes, along with insights from the Cosmos-Indexer, we can visualize critical metrics such as relayer participation and client expiration.

Tasks:

  1. Data Integration:

    • Chain Registry Integration:
      • Extract and integrate data from the Cosmos chain registry, focusing on RPC entries, chain details, and relayer information for all registered chains.
    • Relayer Software Integration:
      • Connect to relayer software (cosmos/relayer and hermes) to retrieve data on client expiration, relayer activity, and other relevant metrics.
      • Monitor relayer operations, identifying when client connections are close to expiration.
    • Cosmos-Indexer Integration:
      • Utilize the Cosmos-Indexer to track relayer participation and identify who relayed specific IBC packets across chains.
      • Use the example in the ibc-relayers-tracking repository as a reference for implementing relayer tracking.
  2. Dashboard Design:

    • Design a dashboard that visualizes:
      • Client Expiration Metrics: Display when client connections are nearing expiration, with alerts for critical thresholds.
      • Relayer Participation: Identify and visualize which relayers are active, who relayed specific packets, and across which chains.
      • Chain-Specific Metrics: Offer filtering options to view relayer activities and client information on a per-chain basis.
  3. Implementation:

    • Build the dashboard using a tool that supports real-time data integration (e.g., Grafana, Prometheus).
    • Implement automated alerts for key events, such as impending client expirations or inactivity of specific relayers.
  4. Testing:

    • Conduct rigorous testing to ensure the dashboard accurately reflects the state of relayer activities and client connections.
    • Test with various chain configurations and relayer setups to ensure compatibility and reliability across different environments.
  5. Documentation:

    • Document the integration process, the dashboard's features, and how to interpret the displayed data.
    • Provide setup instructions and troubleshooting guidance for users.

Resources:

Acceptance Criteria:

  • The dashboard provides accurate insights into relayer activities, client expirations, and chain-specific metrics.
  • Real-time data integration ensures up-to-date information on relayer participation and client connections.
  • The dashboard is fully tested, documented, and ready for deployment.
@danbryan danbryan changed the title Relayer insights dashboard based on chain registry Create Relayer Insights Dashboard Based on Chain Registry Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant