[gha-runner-scale-set-controller] metrics not exposed for the listener #3510
Labels
gha-runner-scale-set
Related to the gha-runner-scale-set mode
question
Further information is requested
Checks
Controller Version
0.9.1
Deployment Method
Helm
Checks
To Reproduce
Describe the bug
I have enabled metrics in the gha-runner-scale-set-controller
metrics: controllerManagerAddr: ":8080" listenerAddr: ":8080" listenerEndpoint: "/metrics"
I can see that the controller pod is exposing metrics on port 8080/metrics
`
gha_controller_failed_ephemeral_runners
gha_controller_pending_ephemeral_runners
gha_controller_running_ephemeral_runners
gha_controller_running_listeners
According to the documentation the listner is the owner of some metrics E.g.
gha_assigned_jobs gha_running_jobs
However these metrics are not exposed on the controller or the listner. When I port-forward to the listner and go to the metrics endpoint e.g. localhost:8080/metrics I get an error
an error occurred forwarding 8080
Describe the expected behavior
When I port-forward to the listener I should get metrics in the same way I get metrics from the controller.
Additional Context
Controller Logs
Runner Pod Logs
The text was updated successfully, but these errors were encountered: