feat: Add Prometheus metrics for Kotary configuration parameters#19
Merged
Conversation
Pull Request Test Coverage Report for Build 23290168111Details
💛 - Coveralls |
zelihacagip
pushed a commit
that referenced
this pull request
Apr 22, 2026
* feat: add Prometheus metrics for Kotary configuration limits * clean: minor cleanup --------- Co-authored-by: Slimane DAHMANI <slimane.dahmani-prestataire@ca-gip.fr>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📊 Add Prometheus metrics for Kotary configuration monitoring
What
This MR introduces new Prometheus metrics to expose key configuration parameters from the
kotary-configConfigMap, enabling better observability and monitoring of Kotary's operational limits.Why
Changes
Added 6 new Prometheus gauge metrics:
kotary_max_jobs_batch_limit_ns- Maximum jobs per namespacekotary_max_jobs_batch_limit_cluster- Maximum jobs across clusterkotary_ratio_max_allocation_cpu- CPU allocation ratio per namespacekotary_ratio_max_allocation_memory- Memory allocation ratio per namespacekotary_ratio_over_commit_cpu- CPU over-commit ratiokotary_ratio_over_commit_memory- Memory over-commit ratioTesting
/metricsendpointNext Steps
resourceQuotadashboard to integrate these new configuration metrics alongside existing usage metrics for comprehensive monitoring