Skip to content

Releases: openais-io/pingpong

PingPong v0.1.0

19 Feb 04:47
Compare
Choose a tag to compare

PingPong v0.1.0

🎉 We're excited to announce the initial release of PingPong, a simple yet powerful service monitor for HTTP endpoint health checks with Telegram alerting capabilities!

Features

Core Functionality

  • 🔍 HTTP endpoint health monitoring with configurable retries and timeouts
  • ⏰ Cron-based scheduling for flexible check intervals
  • 📱 Telegram integration for instant alerts

Configuration

  • 🔧 YAML-based configuration for easy setup and maintenance
  • ⚙️ Global and per-service retry settings
  • 🛠️ Customizable HTTP request configuration including:
    • HTTP methods (GET, POST, etc.)
    • Custom headers
    • Query parameters
    • Request body support

Getting Started

  1. Download the binary for your platform
  2. Create a config.yaml file with your service configurations
  3. Run PingPong:
    pingpong start -f config.yaml

Example Configuration

base:
  retries:
    attempts: 3
    delay: 3000

services:
  - name: my-service
    enabled: true
    schedule: "*/1 * * * *"
    timeout: 60000
    retries:
      attempts: 5
      delay: 1000
    config:
      method: POST
      url: https://api.myservice.com/health
      headers: {}
      query: {}
      body: {}
    alert:
      telegram:
        token: "your-telegram-bot-token"
        chat_id: "your-chat-id"

Issues and Support

If you encounter any issues or have suggestions for improvements, please submit them to our GitHub repository. We appreciate your feedback!