Private
Public Access
1
0
Ask Bjørn Hansen eb5459abf3
All checks were successful
continuous-integration/drone/push Build is passing
fix(api): protocol-aware monitor filtering for multi-protocol monitors
Servers with monitor filtering returned incorrect results when monitors
have same names but different protocols (v4/v6). Monitor lookup now
considers both name and IP version to match the correct protocol.

- Add GetMonitorByNameAndIPVersion SQL query with protocol matching
- Update history parameter parsing to use server IP version context
- Fix both /scores/{ip}/log and Grafana endpoints
- Remove unused GetMonitorByName query

Fixes abh/ntppool#264
Reported-by: Anssi Johansson <https://github.com/avijc>
2025-07-27 00:37:49 -07:00
2023-11-21 12:24:02 -08:00
wip
2023-05-07 00:01:00 -07:00
2025-03-08 10:21:44 -08:00
2023-07-08 22:09:31 -07:00
2024-12-27 17:38:58 -08:00
2025-01-17 21:03:31 -08:00
2025-07-05 12:29:51 -07:00
2025-07-05 12:29:51 -07:00
2023-04-18 21:54:54 -07:00
wip
2023-05-07 00:01:00 -07:00
2023-12-10 21:02:04 -08:00
Description
No description provided
MIT 449 KiB
Languages
Go 98.5%
Shell 0.7%
Dockerfile 0.5%
Makefile 0.3%