feat(metrics): Expose CLF Ready condition as a Prometheus metric#3287
feat(metrics): Expose CLF Ready condition as a Prometheus metric#3287vparfonov wants to merge 1 commit into
Conversation
Add log_forwarder_ready gauge metric that surfaces the ClusterLogForwarder Ready condition status (True/False/Unknown) so alerts can detect validation errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: vparfonov 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 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
WalkthroughThis PR adds a new ChangesForwarder Ready Metric
🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 10 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (10 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@vparfonov: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/hold |
|
Placed on hold so we can determine if we can pull this into the release. We are past code-freeze so this likely needs to wait. The "minimal" servicemonitor profile will need to be updated to always include this metric. @xperimental please review the metrics impl to see if you have any opinions |
Description
Add
log_forwarder_readygauge metric that surfaces the ClusterLogForwarder Ready condition status (True/False/Unknown) so alerts can detect validation errors.Example output:
/cc @Clee2691
/assign @jcantrill
Links
Summary by CodeRabbit
log_forwarder_readyPrometheus metric to monitor log forwarder readiness status.