chore: expose more falco metrics - #3964
Conversation
This is a simple patch that exposes more internal falco metrics through our prometheus endpoint.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe system inspector now tracks process lookup, file-descriptor cache, and thread-cache statistics. The collector exports these values as Prometheus gauges during each polling cycle. ChangesStatistics observability
Estimated code review effort: 2 (Simple) | ~10 minutes Severity of issue fixed: Low Suggested reviewers: Merge Risk: ⚪ Minimal · up to This change adds Falco statistics to Prometheus without altering existing behavior. No actionable merge-blocking production risk is identified. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Description checkExplanation The description explains the main change and follows the required section structure. However, the checklist remains unresolved, and the Testing Performed section still contains the TODO placeholder and template instructions.
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3964 +/- ##
==========================================
- Coverage 27.43% 27.23% -0.20%
==========================================
Files 94 94
Lines 5406 5445 +39
Branches 2535 2561 +26
==========================================
Hits 1483 1483
- Misses 3198 3237 +39
Partials 725 725
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Description
This is a simple patch that exposes more internal falco metrics through our prometheus endpoint.
Checklist
Automated testing
If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why you did not do so. (Valid reasons include "CI is sufficient" or "No testable changes")
In addition to reviewing your code, reviewers must also review your testing instructions, and make sure they are sufficient.
For more details, ref the Confluence page about this section.