-
Notifications
You must be signed in to change notification settings - Fork 919
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
[bugfix] workqueue metrics are mising #5954
Comments
the PR #6003 works for the task |
Got it. |
I found another sub issue: https://github.com/karmada-io/karmada/blob/master/pkg/estimator/server/metrics/metrics.go you can refer to this file and find that so does scheduler's custom metrics: https://github.com/karmada-io/karmada/blob/master/pkg/estimator/server/metrics/metrics.go |
The actual situation is that these custom metrics are not available right after installing the two components (not even zero values). They can only be viewed once actually resources are scheduled. Besides, |
Just a guess, this is due to the metrics needing some labels to be initiated. Like Show an example of the metrics? |
# HELP karmada_scheduler_schedule_attempts_total Number of attempts to schedule a ResourceBinding or ClusterResourceBinding
# TYPE karmada_scheduler_schedule_attempts_total counter
karmada_scheduler_schedule_attempts_total{result="scheduled",schedule_type="ReconcileSchedule"} 5
# HELP karmada_scheduler_scheduling_algorithm_duration_seconds Scheduling algorithm latency in seconds(exclude scale scheduler)
# TYPE karmada_scheduler_scheduling_algorithm_duration_seconds histogram
karmada_scheduler_scheduling_algorithm_duration_seconds_bucket{schedule_step="AssignReplicas",le="0.001"} 5
karmada_scheduler_scheduling_algorithm_duration_seconds_bucket{schedule_step="AssignReplicas",le="0.002"} 5
karmada_scheduler_scheduling_algorithm_duration_seconds_bucket{schedule_step="AssignReplicas",le="0.004"} 5
karmada_scheduler_scheduling_algorithm_duration_seconds_bucket{schedule_step="AssignReplicas",le="0.008"} 5
...
|
Thanks. That's the reason. |
v1.9.0 can not find metric |
Hi @stulzq, thanks for your feedback~ |
Hi @stulzq , from previous investigation: Can you please tell me how you installed karmada? |
There is another situation, if you use |
/assign |
What happened:
We received reports that the controller's work queue metrics can not be emitted. (See #5945 for more details, thanks to @CharlesQQ for reporting this).
This issue occurred before and was fixed in release 1.0 in #945, and then we made some subsequent impairments in #2899 and #3012. (Thanks to @Garrybest for doing this)
However after #2998 and #4706, this issue was introduced again in release-1.10.
This issue is used to track any relevant fix to ensure the problem is fully resolved without introducing any potential risk.
Root Cause:
TBD
Iteration tasks:
Service Reference
in theResourceInterpreterWebhookConfiguration
. (#5969, @XiShanYongYe-Chang)karmada-metrics-adapter
. (expose metrics of karmada-metrics-adapter #6013, @chaosi-zju)Other Potential risks
karmada-webhook
panic in case of invalid configuration. (#5960, @XiShanYongYe-Chang)References:
Echo from the release notes:
The text was updated successfully, but these errors were encountered: