Skip to content

monitoring: document ResourceQuota utilization and stuck-run signals - #1506

Closed
mhotan wants to merge 1 commit into
mainfrom
mike/leasor-quota-metrics-glossary
Closed

monitoring: document ResourceQuota utilization and stuck-run signals#1506
mhotan wants to merge 1 commit into
mainfrom
mike/leasor-quota-metrics-glossary

Conversation

@mhotan

@mhotan mhotan commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Overview

Documents two operational monitoring signals that the {{< key product_name >}} charts surface in their Grafana dashboards and alert rules but that the monitoring guide did not describe: project ResourceQuota saturation and leasor stuck-run diagnostics. Companion to the helm-charts change that adds these panels and alerts (unionai/helm-charts#560).

Changes

New "Dashboards and operational alerts" section in deployment/selfmanaged/configuration/monitoring.md:

  • ResourceQuota utilization — explains the per-project project-quota ResourceQuota, how saturation causes exceeded quota pod rejections that stall runs, the kube_resourcequota utilization query, and the UnionDPResourceQuotaNearSaturation alert.
  • Stuck-run diagnosticsleases_by_state (unassigned vs sent) as the primary stuck signal, plus schedule-skip reasons, dispatch throughput, run-slot saturation, enqueue rejects, and the UnionCPLeasorRunsStuck / UnionCPLeasorEnqueueRejects alerts.

Notes that dashboards render by default (monitoring.dashboards.enabled) and alerts are opt-in (monitoring.alerting.enabled).

Verification

  • Value gates confirmed against the chart templates (dashboards default-on; PrometheusRule alerts gated on monitoring.alerting.enabled).
  • Metric names, labels, and PromQL match the shipped dashboards and PrometheusRules in helm-charts#560.

Add a "Dashboards and operational alerts" section covering two operational
signals the shipped dashboards surface but the docs did not describe:

- ResourceQuota utilization (kube_resourcequota used/hard), why project-quota
  saturation stalls runs, the dashboard row, and the
  UnionDPResourceQuotaNearSaturation alert.
- Leasor stuck-run diagnostics (leases_by_state, schedule_skip_total,
  dispatch_total, run-slot saturation, enqueue rejects) and the
  UnionCPLeasorRunsStuck / UnionCPLeasorEnqueueRejects alerts.

Documents the metrics added to the chart dashboards and PrometheusRules.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 26, 2026 07:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown

GHA build & deploy preview

Built by .github/workflows/build-pr.yml and deployed to the docs CF Pages project by .github/workflows/deploy-pr-preview.yml.

Branch alias https://pr-1506-mike-leasor-quota-me.docs-dog.pages.dev
This commit https://4618bfe4.docs-dog.pages.dev
Commit SHA 95bd7e034fb82da25fc8ce5db7a91fad45643f72

Updated automatically on every push.

@mhotan

mhotan commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #1511, which targets the self-hosted control-plane metrics glossary (content/deployment/selfhosted/operations/monitoring/metrics-glossary.md) based on #932, rather than the selfmanaged data-plane monitoring page. The leasor/actions content is control-plane and belongs in the self-hosted glossary.

@mhotan mhotan closed this Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants