mirror of
https://github.com/hanzoai/status.git
synced 2026-10-30 18:21:48 +00:00
103 lines
3.0 KiB
YAML
103 lines
3.0 KiB
YAML
web:
|
|
port: 8080
|
|
|
|
storage:
|
|
type: sqlite
|
|
path: /data/status.db
|
|
|
|
ui:
|
|
title: "Pars Status"
|
|
description: "Real-time network health and performance"
|
|
header: "Status"
|
|
brand: pars
|
|
link: "https://pars.network"
|
|
dark-mode: true
|
|
buttons:
|
|
- name: "PIPs"
|
|
link: "https://github.com/parsnet/pips"
|
|
- name: "Docs"
|
|
link: "https://docs.pars.network"
|
|
- name: "GitHub"
|
|
link: "https://github.com/parsnet"
|
|
- name: "Support"
|
|
link: "https://pars.network/support"
|
|
|
|
endpoints:
|
|
|
|
# ═══════════════════════════════════════════════
|
|
# MAINNET
|
|
# ═══════════════════════════════════════════════
|
|
|
|
- name: "Explorer"
|
|
group: "Mainnet"
|
|
url: "https://explore-pars.lux.network"
|
|
interval: 60s
|
|
conditions:
|
|
- "[STATUS] == any(200, 302)"
|
|
- "[RESPONSE_TIME] < 5000"
|
|
- "[CERTIFICATE_EXPIRATION] > 720h"
|
|
|
|
- name: "RPC (Pars Chain)"
|
|
group: "Mainnet"
|
|
url: "https://api.lux.network/mainnet/v1/chain/2pUskxqaL5Bpx7uRUGG1fDjPckjxQ4UKX4sLKeaS1NdSVBJd3F/rpc"
|
|
method: POST
|
|
body: '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
|
headers:
|
|
Content-Type: application/json
|
|
interval: 60s
|
|
conditions:
|
|
- "[STATUS] == 200"
|
|
- "[RESPONSE_TIME] < 3000"
|
|
- "[BODY].result != null"
|
|
|
|
# ═══════════════════════════════════════════════
|
|
# WEB
|
|
# ═══════════════════════════════════════════════
|
|
|
|
- name: "pars.network"
|
|
group: "Web"
|
|
url: "https://pars.network"
|
|
interval: 60s
|
|
conditions:
|
|
- "[STATUS] == any(200, 302)"
|
|
- "[RESPONSE_TIME] < 3000"
|
|
- "[CERTIFICATE_EXPIRATION] > 720h"
|
|
|
|
- name: "Identity"
|
|
group: "Services"
|
|
url: "https://pars.id"
|
|
interval: 60s
|
|
conditions:
|
|
- "[STATUS] == any(200, 302)"
|
|
- "[RESPONSE_TIME] < 2000"
|
|
- "[CERTIFICATE_EXPIRATION] > 720h"
|
|
|
|
# ═══════════════════════════════════════════════
|
|
# CLOUD
|
|
# ═══════════════════════════════════════════════
|
|
|
|
- name: "Cloud"
|
|
group: "Cloud"
|
|
url: "https://cloud.pars.network"
|
|
interval: 60s
|
|
conditions:
|
|
- "[STATUS] == any(200, 302)"
|
|
- "[RESPONSE_TIME] < 3000"
|
|
- "[CERTIFICATE_EXPIRATION] > 720h"
|
|
|
|
- name: "Cloud API"
|
|
group: "Cloud"
|
|
url: "https://api.cloud.pars.network/health"
|
|
interval: 60s
|
|
conditions:
|
|
- "[STATUS] == 200"
|
|
- "[RESPONSE_TIME] < 2000"
|
|
- "[CERTIFICATE_EXPIRATION] > 720h"
|
|
|
|
- name: "Cloud WebSocket"
|
|
group: "Cloud"
|
|
url: "wss://ws.cloud.pars.network"
|
|
interval: 60s
|
|
conditions:
|
|
- "[CONNECTED] == true"
|