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

Expose DB Server stats #10

Open
AKlaus opened this issue Jan 30, 2021 · 3 comments
Open

Expose DB Server stats #10

AKlaus opened this issue Jan 30, 2021 · 3 comments
Labels
back-end Back-end specific issue enhancement New feature or request

Comments

@AKlaus
Copy link
Collaborator

AKlaus commented Jan 30, 2021

Idea
The current instance of yabt.ravendb.net is running on a free AWS instance. It's snappy and it's free, so it would be great if could showcase it.

Task [back-end]
Have an API end-point and an area on the UI (under "System") to show the following stats:

  • Memory:
    • PhysicalMem: "4 GBytes",
    • FreeMem: "2.38 GBytes"
    • WorkingSet: "572.73 MBytes"
    • TotalMemoryMapped: "803.5 MBytes"
  • CPU:
    • ProcessorAffinity: 3
    • UserProcessorTime: "00:46:21.9687500"
  • DB stats:
    • CountOfIndexes: 4,
    • CountOfDocuments: 1080
    • SizeOnDisk: "259 MBytes"
  • DB performance metrics:
    • RequestsPerSec (FiveMinuteRate): 0.2
    • IndexedPerSec (FiveMinuteRate): 0.2

Link to the docs.

Task [front-end]
Under the "System" area add another page with the DB stats
image

@AKlaus AKlaus added back-end Back-end specific issue enhancement New feature or request labels Jan 30, 2021
@yj7o5
Copy link

yj7o5 commented Jun 12, 2021

Been following this repo for some while. Can I take this issue and contribute to the repo @AKlaus ? :) Thanks

@AKlaus
Copy link
Collaborator Author

AKlaus commented Jun 13, 2021

Hey mate!
Yes sure, any help would be appreciated. Are you thinking to take on the back-end implementation or also the front-end? If both, I'd suggest to submit a PR for the back-end first.
Happy to flesh out more details if needed

@yj7o5
Copy link

yj7o5 commented Jun 13, 2021

Sounds good, yea I have got the changes for back-end I'll go ahead and submit a PR just for that and then can submit a PR for front-end separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end Back-end specific issue enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants