Phase 8: widgets and polish
- Live job card widget (progress bar, in-widget cancel via widget_query) and live invoice widget (QR drawn from a bitmap, countdown, paid state), Bot API 10.4 sendWidget, private chats only - Automatic fallback to the ordinary message when sendWidget fails, with a breaker that pauses widgets after repeated failures or on servers without the method; TELEGRAM_WIDGETS - Prometheus metrics on the core (/metrics) and on every worker: queue depth and wait, slots, heartbeats, job outcomes, errors per site, deliveries, cache, invoices, Lightning, ledger check, widgets - Example Prometheus config and alert rules, Caddyfile, dashboard notes - Load test: cmd/loadtest and deploy/loadtest (make loadtest) - Browser check of the widgets' HTML, including decoding a drawn QR - docs/DEPLOY.md (production in under an hour) and docs/MONITORING.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
f1f9c6156c
commit
3c153af97f
@@ -25,9 +25,11 @@ webhook_url = ""
|
||||
max_upload_mb = 50 # 2000 with a local Bot API server
|
||||
update_workers = 8
|
||||
set_profile = true # name and descriptions per language from the catalogs
|
||||
widgets = true # live status and invoice widgets, with automatic fallback
|
||||
|
||||
[http]
|
||||
listen = ":8080"
|
||||
metrics = true # Prometheus metrics at /metrics
|
||||
|
||||
[database]
|
||||
driver = "sqlite" # sqlite or postgres
|
||||
|
||||
Reference in New Issue
Block a user