Skip to content

🔭 Compares API response uptimes and latencies across Cosmos blockchain nodes

Notifications You must be signed in to change notification settings

leapwallet/observatory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Observatory

Observatory is a blockchain node health monitoring service that continuously pings and monitors the availability and performance of Cosmos ecosystem RPC nodes. It collects metrics such as response times, HTTP status codes, and uptime statistics, making them available through Prometheus metrics for observability and alerting.

Features

  • Continuous Health Monitoring: Automatically pings blockchain nodes at regular intervals
  • Multi-Provider Support: Monitors nodes from various providers (Ecostake, NMS, Numia, AllNodes, and individual nodes)
  • Prometheus Metrics: Exposes health and performance metrics in Prometheus format
  • Downtime Alerts: Tracks and reports node downtime for critical chains
  • Data Accuracy Checks: Validates data consistency across different node providers
  • RESTful API: Provides health check and metrics endpoints

See the architecture for more information.

Prerequisites

Before running Observatory, ensure you have the following installed:

Quick Start

  1. Clone the repository:

    git clone https://github.com/leapwallet/observatory.git
    cd observatory
  2. Create and configure your .env file with the required environment variables

  3. Start the service using Docker Compose:

    docker compose up --build -d
  4. Access the service:

    • Health check: http://localhost:3000/health
    • Prometheus metrics: http://localhost:3000/metrics

For detailed setup instructions, see the guides below.

Installation

Here are the guides for running this microservice using:

Usage

About

🔭 Compares API response uptimes and latencies across Cosmos blockchain nodes

Resources

Contributing

Stars

Watchers

Forks

Contributors 5