yusing
2b4c39a79e
perf(mem): reduced memory usage in metrics and task by string interning and deduplicating fields
2025-10-15 23:51:47 +08:00
yusing
8047067b2b
refactor(utils): move utils/atomic to goutils
2025-10-09 01:07:47 +08:00
yusing
74224c8e87
refactor(metrics): optimize and simplify system info; add gopsutil as submodule
2025-10-05 12:05:58 +08:00
yusing
ba8edb160f
refactor(metrics): replace hardcoded time with contants, merge three tickers into one
2025-10-03 23:19:12 +08:00
yusing
f411e17d80
feat(json): improve JSON performance with bytedance/sonic
2025-09-29 17:43:34 +08:00
yusing
6776f20332
refactor: move task, error and testing utils to separte repo; apply gofumpt
2025-09-27 13:41:50 +08:00
yusing
f9affba9fc
refactor(modules): replace github.com/yusing/go-proxy with github.com/yusing/godoxy
2025-09-22 16:44:59 +08:00
yusing
d56663d3f9
feat(metrics): enhance metrics handling with interval validation and historical data reconstruction
...
- Introduced addWithTime method for adding entries with specific timestamps.
- Added validateInterval and fixInterval methods to ensure correct interval settings.
- Updated JSON unmarshalling to respect entry timestamps and validate intervals post-load.
- Refactored poller to use a constant PollInterval for consistency across the codebase.
2025-09-14 00:06:30 +08:00
yusing
0a5df1bd7f
refactor(metrics): remove pointers from type parameter T to avoid unnecessary indirection
2025-09-13 22:28:57 +08:00
yusing
216c03c5ff
fix(task): revert to context based approach and fix tasks stuck, improve error handling
2025-05-26 00:32:59 +08:00
yusing
c1221e61d4
refactor: improve task management with xsync for concurrent access and enhance callback and subtasks handling as well as memory allocation
2025-05-25 15:01:44 +08:00
yusing
5b7c392297
refactor: code refactor and improved context and error handling
2025-05-24 10:02:24 +08:00
yusing
63c4bdc73d
refactor: remove the use of logging module in most code
2025-05-23 23:28:33 +08:00
yusing
1c001ed9df
refactor: clean up logger and metric initialization flow
2025-03-29 02:59:40 +08:00
yusing
827a27911c
metrics: implement uptime and system metrics
2025-03-28 07:39:22 +08:00