-
Notifications
You must be signed in to change notification settings - Fork 1.8k
CNV-61371 - Added AAQ metrics #96517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: enterprise-4.20
Are you sure you want to change the base?
CNV-61371 - Added AAQ metrics #96517
Conversation
31d565a
to
26aaced
Compare
@Vaishali-gif-rh: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
The following metrics are exposed by the Application Aware Quota (AAQ) controller for monitoring resource quotas: | ||
|
||
.`kube_application_aware_resourcequota`:: | ||
Returns the current usage of application-aware resource quotas. Type: Gauge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it returns both hard limit and current usage of resources
I guess it could be like ""Returns the hard limit and current usage of application-aware resource quotas..."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Vaishali! Some syntax corrections and wording suggestions. I also noticed that this feature branch is based off enterprise-4.20
. You need to base it off main
.
@@ -141,3 +141,14 @@ topk(3, sum by (name, namespace) (rate(kubevirt_vmi_memory_swap_in_traffic_bytes | |||
==== | |||
Memory swapping indicates that the virtual machine is under memory pressure. Increasing the memory allocation of the virtual machine can mitigate this issue. | |||
==== | |||
|
|||
[id=virt-promql-AAQ-metrics_context] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[id=virt-promql-AAQ-metrics_context] | |
[id="virt-promql-AAQ-metrics_{context}"] |
|
||
The following metrics are exposed by the Application Aware Quota (AAQ) controller for monitoring resource quotas: | ||
|
||
.`kube_application_aware_resourcequota`:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.`kube_application_aware_resourcequota`:: | |
`kube_application_aware_resourcequota`:: |
.`kube_application_aware_resourcequota`:: | ||
Returns the current usage of application-aware resource quotas. Type: Gauge. | ||
|
||
.`kube_application_aware_resourcequota_creation_timestamp`:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.`kube_application_aware_resourcequota_creation_timestamp`:: | |
`kube_application_aware_resourcequota_creation_timestamp`:: |
@@ -141,3 +141,14 @@ topk(3, sum by (name, namespace) (rate(kubevirt_vmi_memory_swap_in_traffic_bytes | |||
==== | |||
Memory swapping indicates that the virtual machine is under memory pressure. Increasing the memory allocation of the virtual machine can mitigate this issue. | |||
==== | |||
|
|||
[id=virt-promql-AAQ-metrics_context] | |||
== Monitoring AAQ operator metrics |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
== Monitoring AAQ operator metrics | |
== AAQ Operator metrics |
[id=virt-promql-AAQ-metrics_context] | ||
== Monitoring AAQ operator metrics | ||
|
||
The following metrics are exposed by the Application Aware Quota (AAQ) controller for monitoring resource quotas: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following metrics are exposed by the Application Aware Quota (AAQ) controller for monitoring resource quotas: | |
The following metrics are exposed by the Application-Aware Quota (AAQ) Operator controller for monitoring resource quotas: |
Returns the current usage of application-aware resource quotas. Type: Gauge. | ||
|
||
.`kube_application_aware_resourcequota_creation_timestamp`:: | ||
Returns the Unix timestamp of the application-aware resource quota creation. Type: Gauge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the timestamp of when an AAQ Operator resource (ApplicationAwareResourceQuota
or ApplicationAwareClusterResourceQuota
is created? If so, my suggestion would be reword it to something like this:
Returns the Unix timestamp of the application-aware resource quota creation. Type: Gauge. | |
Returns the time, in UNIX timestamp format, when the AAQ Operator resource is created. Type: Gauge. |
The following metrics are exposed by the Application Aware Quota (AAQ) controller for monitoring resource quotas: | ||
|
||
.`kube_application_aware_resourcequota`:: | ||
Returns the current usage of application-aware resource quotas. Type: Gauge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit vague. I would suggest changing it to something like this. Please get it reviewed by an SME to ensure technical accuracy.
Returns the current usage of application-aware resource quotas. Type: Gauge. | |
Returns the current quota usage and the CPU and memory limits enforced by the AAQ Operator resources. Type: Gauge. |
Version(s):
4.20
Issue:
https://issues.redhat.com/browse/CNV-61371
Link to docs preview:
QE review:
Additional information: