Commit Graph

26 Commits (167a8b5e9421e0ab51fbf44c5621632f4a1a90c5)

Author SHA1 Message Date
leonklingele 167a8b5e94
🚀 Feature: Add and apply more stricter golangci-lint linting rules (#2286)
* golangci-lint: add and apply more stricter linting rules

* github: drop security workflow now that we use gosec linter inside golangci-lint

* github: use official golangci-lint CI linter

* Add editorconfig and gitattributes file
2023-01-27 09:01:37 +01:00
Serhat Şevki Dinçer 0fdd7df0f9
📊 add refresh period to monitor mw (#1898) 2022-05-16 08:15:47 +02:00
Serhat Şevki Dinçer 29be6691c5
📊 add page title to monitor mw (#1893) 2022-05-05 15:27:48 +02:00
M. Efe Çetin b74676704d
Add disable html support to monitor middleware. (#1620)
* Add disable html support to monitor middleware.

* Change field.

* Update README.md

* Update middleware/monitor/config.go

* Fix tests.

Co-authored-by: hi019 <65871571+hi019@users.noreply.github.com>
2021-12-05 19:28:50 +01:00
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