Closed isatfg closed 6 months ago
Hello! Thank you for filing an issue.
The maintainers will triage your issue shortly.
In the meantime, please take a look at the troubleshooting guide for bug reports.
If this is a feature request, please review our contribution guidelines.
Hey @isatfg,
Please correct me if I'm wrong, but the error says that port forwarding is the problem. Is it possible that you tried to forward both the controller and the listener on the same port? I successfully forwarded both the controller and the listener metrics.
Hey @nikola-jokic
hmm, so was trying to reproduce the issue again to explain the steps and now I see metrics on the listener as expected. I honestly have no idea what happened.
So now I have the metrics enabled and I can port-forward to the controller and get controller metrics and port-forward to the listener and get listener metrics. Apologies for wasting you time
Thank you
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 erroran 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