docs: add observability guide#367
Conversation
📝 WalkthroughWalkthroughNew operator manual documentation describing ARC's observability surface: Prometheus metrics via controller-runtime with no custom ARC metrics, health probes on port 8081, Helm configuration with TLS options, RBAC setup for metrics scraping, key health indicators, and a complete metric catalog for controller, workqueue, reconciliation, and REST client signals. ChangesObservability Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
docs/operator-manual/observability.md (1)
36-38: ⚡ Quick winClarify that both ServiceAccount name and namespace need adjustment.
The comment on line 37 notes that the ServiceAccount name should be adjusted, but the namespace on line 38 also needs to be adjusted to match your Prometheus deployment. Consider updating the comment to make this explicit.
📝 Suggested clarification
subjects: - kind: ServiceAccount - name: prometheus-kube-prometheus-prometheus # adjust to your Prometheus SA - namespace: monitoring + name: prometheus-kube-prometheus-prometheus # adjust to your Prometheus SA name + namespace: monitoring # adjust to your Prometheus namespace🤖 Prompt for 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. In `@docs/operator-manual/observability.md` around lines 36 - 38, Update the inline comment near the ServiceAccount block so it explicitly states that both the ServiceAccount name and its namespace must be adjusted to match your Prometheus deployment; reference the YAML keys 'name: prometheus-kube-prometheus-prometheus' and 'namespace: monitoring' and change the comment to something like "adjust to your Prometheus ServiceAccount name and namespace" so readers know to modify both fields.
🤖 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.
Nitpick comments:
In `@docs/operator-manual/observability.md`:
- Around line 36-38: Update the inline comment near the ServiceAccount block so
it explicitly states that both the ServiceAccount name and its namespace must be
adjusted to match your Prometheus deployment; reference the YAML keys 'name:
prometheus-kube-prometheus-prometheus' and 'namespace: monitoring' and change
the comment to something like "adjust to your Prometheus ServiceAccount name and
namespace" so readers know to modify both fields.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 5bd74544-e415-491c-8148-9ac4a912e145
📒 Files selected for processing (1)
docs/operator-manual/observability.md
What
Closes #296
Why
Testing
I've created a Grafana dashboard, enabled monitoring and checked the top health signals.
Checklist
Tests added/updatedn/aSummary by CodeRabbit