Skip to content

Conversation

@timebertt
Copy link
Owner

@timebertt timebertt commented Aug 22, 2025

What this PR does / why we need it:

This PR simplifies how the run_id label is added to the metrics of experiment.
Instead of adding the run_id label explicitly, the ServiceMonitor copies the pod UID to the run_id label.
With this, all metrics from the experiment pods get the run_id label, not only the metrics from webhosting-operator/pkg/experiment/tracker.

Which issue(s) this PR fixes:
Fixes n/a

Special notes for your reviewer:

@timebertt timebertt added the cleanup Code cleanup label Aug 22, 2025
@timebertt timebertt enabled auto-merge (squash) August 22, 2025 20:14
@timebertt timebertt moved this from Backlog to In progress in kubernetes-controller-sharding Aug 22, 2025
@timebertt timebertt merged commit a3bb8d8 into main Aug 22, 2025
4 checks passed
@timebertt timebertt deleted the experiment-metrics branch August 22, 2025 20:18
@github-project-automation github-project-automation bot moved this from In progress to Done in kubernetes-controller-sharding Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Code cleanup

Projects

Development

Successfully merging this pull request may close these issues.

2 participants