Skip to content

Conversation

marseel
Copy link
Contributor

@marseel marseel commented Aug 18, 2025

Metric cilium_k8s_client_rate_limiter_duration_seconds is the metric with the highest cardinality. To reduce cardinality, let's remove path and method. These two labels are not really useful, as throttling is on client level and not per resource or verb.

metrics: cilium_k8s_client_rate_limiter_duration_seconds no longer has labels path and method

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Aug 18, 2025
@marseel marseel added the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label Aug 19, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Aug 19, 2025
@marseel
Copy link
Contributor Author

marseel commented Aug 19, 2025

/test

Metric cilium_k8s_client_rate_limiter_duration_seconds is the
metric with the highest cardinality. To reduce cardinality, let's remove
path and method. These two are not really useful, as throttling is on
client level and not per resource or verb.

Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
@marseel marseel force-pushed the pr/marseel/improve_metrics branch from cfebb02 to 61d4a21 Compare August 19, 2025 10:53
@marseel
Copy link
Contributor Author

marseel commented Aug 19, 2025

/test

@marseel marseel marked this pull request as ready for review August 19, 2025 12:20
@marseel marseel requested review from a team as code owners August 19, 2025 12:20
@joestringer joestringer enabled auto-merge August 19, 2025 16:56
@joestringer joestringer added this pull request to the merge queue Aug 19, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Aug 19, 2025
Merged via the queue into main with commit e2f6c06 Aug 19, 2025
367 of 369 checks passed
@joestringer joestringer deleted the pr/marseel/improve_metrics branch August 19, 2025 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants