yusing
40c4344f73
poller error formatting
2025-02-13 23:31:00 +08:00
yusing
3bd8aca2d2
period: change "1m" to "1mo" to avoid confusion
2025-02-13 21:18:30 +08:00
yusing
41d37579dc
small refactor
2025-02-13 18:52:00 +08:00
yusing
10d23828a7
metrics: fix 5m period
2025-02-13 18:47:17 +08:00
yusing
6bf4846ae8
poller: clear errors after logging
2025-02-13 17:23:00 +08:00
yusing
decd2c2ded
fix various endpoints
2025-02-13 15:05:16 +08:00
yusing
02d1c9ce98
refactor header utils to httpheader package, cleanup api endpoints
2025-02-13 07:32:59 +08:00
yusing
3c7fafa91f
improved metrics implementation
2025-02-13 05:58:30 +08:00
yusing
82042e0b99
refactor, fix metrics and upgrade go to 1.24.0
2025-02-12 11:15:45 +08:00
yusing
c807b30c8f
api: remove service health from prometheus, implement godoxy metrics
2025-02-12 05:30:34 +08:00
yusing
e1ee08361d
api: added network and sensors system info
2025-02-11 05:26:37 +08:00
yusing
73e2660e59
agent: add system-info endpoint
2025-02-11 01:10:09 +08:00
yusing
34858a1ba0
fix prometheus metrics gone after route changes
2024-12-18 00:54:04 +08:00
yusing
b162dcbfbe
updated incorrect metric help message
2024-11-13 04:46:31 +08:00
yusing
6194bac4c4
metric unregistration on route removal, fixed multi-ips as visitor label detected from x headers
2024-11-10 06:47:59 +08:00
yusing
f97e3f65fe
go version and deps update, fixed middlewares and metrics
...
- fixed "API JWT secret empty" warning output format
- fixed metrics initialized when it should not
- fixed middlewares.modifyRequest Host header not working properly
2024-11-08 06:14:08 +08:00
yusing
5214ae1760
uptime metrics
2024-11-07 11:44:01 +08:00
yusing
6712e9b109
initial prometheus metrics support, simplfied some code
2024-11-06 12:24:12 +08:00