Skip to content
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

add /debug endpoint to return stats about flintlock #736

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aryan9600
Copy link
Contributor

@aryan9600 aryan9600 commented Jun 19, 2023

kind/feature

What this PR does / why we need it:
Add /debug endpoint to return various stats about Flintlock and MicroVMs. At the moment, it returns the following counts:

  • Total no. of MicroVms (mvmCount)
  • Total no. of network interfaces (ifaceCount)
  • Total VCPU allocated (totalVcpu)
  • Total memory allocatde (totalMemoryInMb)

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #509

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

Add /debug endpoint to return various stats about Flintlock and
MicroVMs. At the moment, it returns the following counts:
* Total no. of MicroVms (`mvmCount`)
* Total no. of network interfaces (`ifaceCount`)
* Total VCPU allocated (`totalVcpu`)
* Total memory allocatde (`totalMemoryInMb`)

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
@aryan9600
Copy link
Contributor Author

cc: @Callisto13

@github-actions
Copy link
Contributor

This PR is stale because it has been open 30 days with no activity.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 20, 2023
@richardcase richardcase added the kind/feature New feature or request label Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add /debug endpoint to return useful stats about flintlock and microvms
2 participants