Skip to content

Show node capacity, location and recent UPS in Fizruk status - #553

Merged
Szer merged 1 commit into
mainfrom
codex/fizruk-status
Oct 7, 2026
Merged

Szer merged 1 commit into
mainfrom
codex/fizruk-status

Conversation

@Szer

@Szer Szer commented Oct 7, 2026

Copy link
Copy Markdown
Owner

A running game's /status now shows the hosting node's vCPU capacity, region and availability zone. Factorio can also display its average measured UPS over the last five minutes through an optional factorio-ups detail with a configurable Prometheus base URL and metric selector.

The UPS query excludes paused/missing samples and requires a fresh active measurement. Missing, malformed or timed-out metrics display unavailable without hiding the rest of status. Stopped and starting games do not fetch UPS.

Validation: all 133 Fizruk tests passed locally, including HTTP integration tests against fake Kubernetes/Prometheus APIs and container tests against fake Telegram.

@Szer
Szer merged commit 5a63bea into main Oct 7, 2026
8 checks passed
@Szer
Szer deleted the codex/fizruk-status branch October 7, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant