samples-yabt
samples-yabt copied to clipboard
Expose DB Server stats
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
Task [front-end]
Under the "System" area add another page with the DB stats

Been following this repo for some while. Can I take this issue and contribute to the repo @AKlaus ? :) Thanks
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
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.