Commit Graph

22 Commits (7b7dcf29f79f185416325b62fad8cedf0b800b07)

Author SHA1 Message Date
Gusted 7b7dcf29f7
♻️ Tidy up the codebase (#1613)
* run gofmt

* add t.Helper()

* Simplify assigns

* Simplify make operation

* Remove unused field in struct

* Fix typo

* Run gofumpt ./

* Consistent spacing

* len(...) can never be negative

* Use ReplaceAll

* Simplify operation

* Remove deadcode

* Fix typo

* Tidy up `} else { if ...`

* Fix AssertEqual

* Remove t.Helper() to fix go1.14.15
2021-11-05 08:00:03 +01:00
M. Efe Çetin c0c14671ba
Add one minute load avg for monitor. (#1530)
Fix CI/CD errors.

Fix Windows.

Fix Windows.

Fix golint error.
2021-09-22 08:29:44 +02:00
M. Efe Çetin 76b0d216c1
Add next support for Monitor middleware. (#1527) 2021-09-13 08:51:44 +02:00
Sagar Sonwane ecfcf1cc00
♻️ Removed Printed Warning (#1268)
* ♻️ Removed Printed Warning

removed print statement for warning from monitor.go file

* 📝 Added Warning Message in Readme

added warning message in monitor middleware readme
2021-04-06 15:21:53 +02:00
Hítalo Silva bba55cf240
Added total RAM to counters 2021-01-21 18:29:29 -03:00
kiyon d446a32b30 🩹 Avoid panic when updating statistics
fix #903
2020-10-10 10:39:12 +08:00
Fenny 9856573d41 🩹 update monitor test case 2020-09-29 17:46:53 +02:00
Fenny cd95d4fc95 📈 add warning to monitor 2020-09-29 17:44:28 +02:00
Fenny f23d63341e 📈 fix open connections 2020-09-29 15:52:11 +02:00
kiyon af1a143b35 🩹 fix data race 2020-09-29 14:23:36 +08:00
Fenny cf103b0e1e 📈 fix response time 2020-09-29 04:03:13 +02:00
Fenny bd30fc7e9f 📈 add OS data 2020-09-29 03:11:39 +02:00
Fenny db535558b8 🧹 only accept GET 2020-09-29 02:41:00 +02:00
Fenny c85ff49925 🧹 update monitor 2020-09-29 02:31:32 +02:00
Fenny 2718b8996f 🧹 remove sleep 2020-09-29 01:29:43 +02:00
Fenny a25eca4c89 📈 update monitor 2020-09-29 01:28:43 +02:00
József Sallai 62881d84b8 add monitor middleware frontend 2020-09-29 00:46:55 +03:00
Fenny 8f0d385afe 📦 monitor 2020-09-28 14:47:17 +02:00
Fenny 052966e5dc ✏ update license 2020-09-28 00:46:18 +02:00
Fenny 6cac2faa9a 🚮 remove test 2020-09-28 00:42:53 +02:00
Fenny 0e21234f5e 📦 vendor gopsutil 2020-09-27 22:56:31 +02:00
Fenny aff2697756 📈 introduce monitor 2020-09-27 21:43:59 +02:00