Octops / gameserver-ingress-controller

Automatic Ingress configuration for Game Servers managed by Agones
https://octops.io
Apache License 2.0
68 stars 9 forks source link

Add Prometheus instrumentation to Reconcile #16

Open danieloliveira079 opened 2 years ago

danieloliveira079 commented 2 years ago

We should add Prometheus instrumentation to the controller in order to track the following metrics:

The gameserver-ingress-controller should expose the [PORT]/metrics endpoint that will be scrapped by Prometheus. The implementation should be extensible and take into consideration that new metrics might be added to the future.

Refereces to the Prometheus instrumentation for Go applications can be found on https://prometheus.io/docs/guides/go-application/