HYPERFLEET-1363 - feat: enable Grafana dashboard provisioning and align monitoring values - #78
HYPERFLEET-1363 - feat: enable Grafana dashboard provisioning and align monitoring values#78Ruclo wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
📝 WalkthroughSummary by CodeRabbit
WalkthroughAdapter, API, and Sentinel now group observability and tracing settings under Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@helmfile/values/base-api.yaml.gotmpl`:
- Around line 4-10: Align the monitoring values with implemented chart
resources: add the missing dashboard template for the API chart and
PrometheusRule template for the Adapter chart, or remove their unsupported
contract keys. Keep ServiceMonitor enabled across all charts, and ensure
dashboard resources use the existing kube-prometheus-stack label convention.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Central YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 2926a138-590d-4463-b278-2823b6445f24
📒 Files selected for processing (4)
helmfile/values/base-adapter.yaml.gotmplhelmfile/values/base-api.yaml.gotmplhelmfile/values/base-kube-prometheus-stack.yaml.gotmplhelmfile/values/base-sentinel.yaml.gotmpl
🔗 Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
openshift-hyperfleet/architecture(manual)openshift-hyperfleet/hyperfleet-api(manual) → reviewed against open PR#326HYPERFLEET-1363instead of the default branchopenshift-hyperfleet/hyperfleet-sentinel(manual) → reviewed against open PR#241HYPERFLEET-1363instead of the default branchopenshift-hyperfleet/hyperfleet-adapter(manual) → reviewed against open PR#268HYPERFLEET-1363instead of the default branchopenshift-hyperfleet/hyperfleet-broker(manual)
…ring section Update helmfile base values to match the unified monitoring: section across component charts. - Move serviceMonitor toggles under monitoring section in adapter and API values - Add monitoring.dashboard.enabled toggle for all components - Enable Grafana sidecar cross-namespace dashboard discovery
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@helmfile/values/base-adapter.yaml.gotmpl`:
- Around line 3-5: Require tracing to depend on observability in the
$obs/$tracing configuration logic: update
helmfile/values/base-adapter.yaml.gotmpl lines 3-5,
helmfile/values/base-api.yaml.gotmpl lines 3-5, and
helmfile/values/base-sentinel.yaml.gotmpl lines 3-5 so TRACING_ENABLED only
enables $tracing when $obs is true, preventing tracing resources from rendering
without observability.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Central YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 1bea518f-30b9-40a6-88cc-fac2fc8408a9
📒 Files selected for processing (3)
helmfile/values/base-adapter.yaml.gotmplhelmfile/values/base-api.yaml.gotmplhelmfile/values/base-sentinel.yaml.gotmpl
🔗 Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
openshift-hyperfleet/architecture(manual)openshift-hyperfleet/hyperfleet-api(manual) → reviewed against open PR#326HYPERFLEET-1363instead of the default branchopenshift-hyperfleet/hyperfleet-sentinel(manual) → reviewed against open PR#241HYPERFLEET-1363instead of the default branchopenshift-hyperfleet/hyperfleet-adapter(manual) → reviewed against open PR#268HYPERFLEET-1363instead of the default branchopenshift-hyperfleet/hyperfleet-broker(manual)
Why
Part of HYPERFLEET-1363 — align helmfile values with the unified
monitoring:section across component charts and enable Grafana sidecar dashboard discovery.Changes
serviceMonitor.enabledundermonitoring.serviceMonitorin adapter and API base valuesmonitoring.dashboard.enabled: truefor all components whenOBSERVABILITY_ENABLED=truesidecar.dashboards.searchNamespace: ALLin kube-prometheus-stack for cross-namespace dashboard discoveryTest plan
OBSERVABILITY_ENABLED=true— dashboards appear in Grafana automatically