Replies: 4 comments 1 reply
|
I ended up adding a pod-monitor for each scale set {{- with .Values.podMonitor -}}
{{- if .enabled }}
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: {{ $.Release.Name }}
spec:
podMetricsEndpoints:
- interval: {{ .interval }}
port: {{ .port }}
path: {{ .path }}
selector:
matchLabels:
app.kubernetes.io/component: runner-scale-set-listener
app.kubernetes.io/instance: {{ index $.Values "gha-runner-scale-set" "runnerScaleSetName" }}
{{- end -}}
{{- end }}with the values : podMonitor:
enabled: true
interval: 30s
port: metrics
path: /metrics |
1 reply
|
Your configuration looks correct. |
0 replies
|
Hello @hikouki-gumo , I created two Service Monitors both "apps" actions-runner-controller gha-runner-scale-set I believe service discovery is enabled because I am able to see these in the prom logs. However nothing is yet to land in Prom. |
0 replies
|
Still really stuck here - I changed the ServiceMonitor to a PodMonitor as per @Nastaliss comments. The good news is that the Service Discovery is now appearing. However the labels are being dropped. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Hello,
Using the below as inspiration* I am trying to get my metrics sent to my Prom instance but I am not seeing anything in Prom even after running an successful workflow job.
Here are snippets of my values files:
actions-runner-controller
Enables the Metrics and Pod Annotations:
gha-runner-scale-set
I've also verified that the metrics are accessible from both pods by doing using port-forwards and curling each localhost which return metrics.
Other info:
Helm chart version 0.9.3
Prom Version: 2.52.0
EKS 1.29
*Inspiration
https://www.kenmuse.com/blog/enabling-github-arc-metrics/
#3293
#3784
All reactions