Skip to content

Conversation

@terjekv
Copy link
Member

@terjekv terjekv commented Nov 6, 2025

Drastically improve the variables exposed to the evaluation engine.

Repository related

  • repos_out_of_sync: The number of unique repositories out of sync across all servers scraped
  • repos_total: The total number of unique repositories scraped across all servers (NEW!)

Server counts, legacy variables

  • stratum0_servers: The number of stratum0 servers successfully scraped with a state of OK
  • stratum1_servers: The number of stratum1 servers successfully scraped with a state of OK
  • sync_servers: The number of sync servers successfully scraped with a state of OK

Server counts, detailed variables (NEW!)

Stratum0

  • stratum0_ok: The number of stratum0 servers with status OK (legacy equivalent: stratum0_servers)
  • stratum0_degraded: The number of stratum0 servers with status DEGRADED
  • stratum0_warning: The number of stratum0 servers with status WARNING
  • stratum0_failed: The number of stratum0 servers with status FAILED
  • stratum0_total: The total number of stratum0 servers scraped (should equal stratum0_ok + stratum0_degraded + stratum0_warning + stratum0_failed)

Stratum1

  • stratum1_ok: The number of stratum1 servers with status OK (legacy equivalent: stratum1_servers)
  • stratum1_degraded: The number of stratum1 servers with status DEGRADED
  • stratum1_warning: The number of stratum1 servers with status WARNING
  • stratum1_failed: The number of stratum1 servers with status FAILED
  • stratum1_total: The total number of stratum1 servers scraped (should equal stratum1_ok + stratum1_degraded + stratum1_warning + stratum1_failed)

Syncservers

  • syncserver_ok: The number of sync servers with status OK (legacy equivalent: sync_servers)
  • syncserver_degraded: The number of sync servers with status DEGRADED
  • syncserver_warning: The number of sync servers with status WARNING
  • syncserver_failed: The number of sync servers with status FAILED
  • syncserver_total: The total number of sync servers scraped (should equal syncserver_ok + syncserver_degraded + syncserver_warning + syncserver_failed)

Note: It's syncserver (no underscore and singular, like stratum0/1).

@terjekv terjekv self-assigned this Nov 6, 2025
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.

2 participants