11 Commits

Author SHA1 Message Date
Shizun Ge 0d5395b4ee Update copyright to 2026. 2026-01-05 20:07:30 -08:00
Vladislav Stishenko d5d671b74d Fixed type in error logs in metrics.go
Signed-off-by: Vladislav Stishenko <github@vst.name>
2025-06-29 20:19:15 +05:00
Vivek a6390a1433 fix log string 2024-11-04 13:02:59 -08:00
Vivek Revankar c3ae83da33 nit 2024-10-30 19:17:32 -07:00
Vivek Revankar aeb234fbbf refactor 2024-10-30 19:17:32 -07:00
Vivek Revankar 194abc817d address comment 2024-10-30 19:17:32 -07:00
Vivek Revankar 7e4883db8e add unix socket support for prometheus 2024-10-30 19:17:32 -07:00
Shizun Ge 0cc52eee46 Prometheus roundup the trapped time to the interval.
In the old way, if the connection is broken less than an interval, the trapped time won't be reported.
With this fix, the prometheus should report the same value as the log.
2024-01-27 23:26:39 -08:00
Shizun Ge e395971cfd clean metrics, remove series if the ip is not seen for a while. 2024-01-18 22:58:35 -08:00
Shizun Ge 37d428cdf5 add local_port label to all metrics 2024-01-18 22:58:35 -08:00
Shizun Ge fee1f1a67d re-org files into packages. update copyright. accept multiple ports. 2024-01-18 22:58:35 -08:00