Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Latest commit

 

History

History
63 lines (53 loc) · 1.18 KB

README.md

File metadata and controls

63 lines (53 loc) · 1.18 KB

Telegram Status Page

Status page for telegram

Checks the health of the following telegram services:

  • Telegram DCs
  • Telegram Bot API
  • Telegraph
  • Telescope
  • Telegram Translation
  • Telegram Instantview Editor

Status

ToDo:

  • Fancy Web GUI
  • Downtime History
  • RSS Feed for downtimes
  • HTTP-Webhook Notifications
  • Functionality tests for all telegram services

API

  • /api/v1/all - returns whole status
  • /api/v1/dcs - returns all DC's status
  • /api/v1/services - returns the state of other telegram services

Notes

A ping should look like this:

{
  ok: boolean,
  ping: double,
  ipv4: string,
  date: unix-ms-timestamp
}

functionalitiy checks should look like this:

[
  {
    title: string,
    ok: boolean,
    response_time: double,
    error: string,
    date: unix-ms-timestamp
  },
  ...
]

Each check subject should provide the following API:

// (TCP) Ping the subject
async subject.ping()

// Perform all functionality tests available for this subject.
async subject.test()