-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc(metrics): Make metrics related info easily accessible #4341
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4341 +/- ##
=======================================
Coverage 81.52% 81.52%
=======================================
Files 240 240
Lines 29364 29364
=======================================
Hits 23939 23939
Misses 5425 5425
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Present a list of metrics emitted by Firecracker. To make it easier to understand the metrics, provide links to the definition of each metrics. Signed-off-by: Sudan Landge <[email protected]>
validate_missing_metrics is actually just validating the jsonschema library and not any Firecracker property itself which is fine since it is kind of a reassurance that it is working as we expect it to. However, atm it only checks if jsonschema throws an exception on the missing metrics and it should in fact also check if there was an exception raised at all. If for some reason jsonschema doesn't raise an exception then the test passes and the purpose of this function is defeated. So, raise exception if jsonschema doesn't raise one. Signed-off-by: Sudan Landge <[email protected]>
Present a list of metrics emitted by Firecracker and to make it easier to understand the metrics, provide links to the definition of each metrics.
Added a misc commit not related to the documentation to fix the validation of metrics.
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following
Developer Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
- [ ] API changes follow the Runbook for Firecracker API changes.- [ ] User-facing changes are mentioned inCHANGELOG.md
.- [ ] All added/changed functionality is tested.- [ ] NewTODO
s link to an issue.rust-vmm
.