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
M. Efe Çetin
5406560033
🧹 chore: make most tests parallel ( #2299 )
...
* 🧹 chore: make most tests parallel
* revert some tests
* revert some tests
* revert some tests
2023-01-15 23:21:37 +08:00
M. Efe Çetin
691d2e6ad5
🗑️ deprecate: go 1.14 & go 1.15 support deprecation ( #2172 )
...
* 🗑️ deprecate: go 1.14 & go 1.15 support deprecation
https://github.com/valyala/fasthttp/pull/1379
* fix tests
2022-10-26 11:51:50 +02:00
Jinquan Wang
32d311cd59
🐛 monitor middleware - fix ignore custom settings ( #2024 )
...
* 🐛 fix: ignore custom settings
* 🐛 fix: ignore custom settings
* ✅ chore: add tests for config default
2022-08-19 15:09:16 +02:00
Majid Taheri(I love optimization)
744e4da3ef
add some parameters to config for supporting #1936 ( #1956 )
...
* add some parameters to config for supporting #1936
* remove go:embed
* apply code review - 1956#issuecomment-1169811117
* lint
Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
2022-07-05 13:34:32 +02: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
kiyon
cc961b0683
👷 add monitor middleware test cases
2020-09-29 13:16:26 +08:00
Fenny
652844c10b
Merge pull request #851 from Fenny/master
...
🕐 fix timeout
2020-09-29 04:36:58 +02:00
Fenny
01dcc81e7c
🕐 fix timeout
2020-09-29 04:36:38 +02:00
Fenny
05a062b0a4
Merge pull request #850 from Fenny/master
...
🕕 update timeout
2020-09-29 04:31:30 +02:00
Fenny
349da6fd1a
🕕 update timeout
2020-09-29 04:31:11 +02:00
Fenny
d3e53e90f0
Merge pull request #849 from Fenny/master
...
📈 fix response time
2020-09-29 04:03:38 +02:00
Fenny
cf103b0e1e
📈 fix response time
2020-09-29 04:03:13 +02:00
Fenny
b23487ab3f
Merge pull request #848 from Fenny/master
...
📈 fix ram chart
2020-09-29 03:19:20 +02:00
Fenny
9ec0cb524b
📈 fix ram chart
2020-09-29 03:18:58 +02:00
Fenny
94b9991a7b
Merge pull request #847 from Fenny/master
...
📈 add OS metadata
2020-09-29 03:14:05 +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
202d16ab93
Update README.md
2020-09-29 02:38:38 +02:00
Fenny
759cc11d1b
Update README.md
2020-09-29 02:38:24 +02:00
Fenny
88c068a73b
Update README.md
2020-09-29 02:36:15 +02:00
Fenny
cef9b362ec
Update README.md
2020-09-29 02:35:41 +02:00
Fenny
c85ff49925
🧹 update monitor
2020-09-29 02:31:32 +02:00
Fenny
8852f33374
🧹 fix test
2020-09-29 01:33:52 +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
8b8dcd4e61
✏️ make monitor mw ui labels more descriptive
2020-09-29 01:05:45 +03: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