Add metric for number of reserved replicas in a fleet #2609
Labels
help wanted
We would love help on these issues. Please come help us!
kind/feature
New features for Agones
Milestone
Is your feature request related to a problem? Please describe.
The current metrics for fleets include total game servers, allocated game servers, ready game servers, and desired game servers. Since the reserved game server state was added in #766 we haven't updated the metrics to count game servers in this state.
Describe the solution you'd like
Update the
recordFleetReplicas
function to include reserved game servers:agones/pkg/metrics/controller.go
Lines 256 to 268 in 418aff0
Describe alternatives you've considered
None. We should totally do this.
Additional context
n/a
The text was updated successfully, but these errors were encountered: