Replies: 3 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 |
Beta Was this translation helpful? Give feedback.
-
Your configuration looks correct. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions