mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 08:23:45 +00:00
feat(multiplayer): expose allocator quota metrics
This commit is contained in:
@@ -52,3 +52,21 @@ spec:
|
||||
The 5-minute 5xx ratio for operation {{ $labels.operation }}
|
||||
has exceeded 1 percent for 5 minutes.
|
||||
runbook_url: https://example.invalid/cosmic-clash/runbooks/control-plane-api
|
||||
- name: cosmic-clash.allocator
|
||||
rules:
|
||||
- alert: CosmicClashAllocatorQuotaDenials
|
||||
expr: |
|
||||
sum by (region) (
|
||||
increase(cosmic_clash_allocator_quota_denials_total[15m])
|
||||
) > 0
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
owner: allocator
|
||||
annotations:
|
||||
summary: Cosmic Clash allocator quota is denying allocation attempts
|
||||
description: >-
|
||||
The {{ $labels.region }} allocator has denied at least one
|
||||
allocation attempt in the last 15 minutes; verify quota capacity,
|
||||
provider health, and denial-of-wallet activity.
|
||||
runbook_url: https://example.invalid/cosmic-clash/runbooks/allocator-quota
|
||||
|
||||
Reference in New Issue
Block a user