11 Commits

Author SHA1 Message Date
Kishore Nallan
f7b7cb8aa2 Get swap usage from sysinfo. 2024-03-05 22:25:30 +05:30
Krunal Gandhi
e463d2f0f1
export swap used in /metrics.json end-point (#1499)
* export swap used in /metrics.json end-point

* remove logs

* add macro to run on linux only

* update the swap usage fetch approach

* remove check to maintain consistent API response
2024-01-22 13:40:39 +05:30
ozanarmagan
5766b83f24 Avoid loading models that larger than free memory 2023-10-17 00:26:36 +03:00
Kishore Nallan
c0802ec428 Fix cpu usage metric. 2021-07-08 09:29:52 +05:30
kishorenc
9a4105111d Fix NaN during cpu metric calculation. 2020-08-13 07:31:04 +05:30
kishorenc
13591fc017 Expose network received/sent bytes metric. 2020-08-10 19:10:28 +05:30
kishorenc
a9de50c481 Tweak cpu usage computation. 2020-08-09 18:33:27 +05:30
kishorenc
22ce33bfbe Allow a threshold for memory limit to be specified. 2020-08-09 12:04:37 +05:30
kishorenc
560a3582cc Fetch memory metrics from jemalloc. 2020-07-23 22:22:39 +05:30
kishorenc
a6a2000ddc Use proc meminfo for available memory on Linux. 2020-06-10 11:01:22 +05:30
kishorenc
bbc9c9780d Expose system metrics via API. 2020-05-07 18:26:33 +05:30