Repository navigation
Closed
Labels
Enhancement / Feature RequestSomething New
Description
Relates to:
- Tracker uptime in newtrackon.com is too low (60.80%) torrust-demo#26
- Feat: ban IPs not sending a valid connection ID #1124
{
"torrents": 0,
"seeders": 0,
"completed": 0,
"leechers": 0,
"tcp4_connections_handled": 0,
"tcp4_announces_handled": 0,
"tcp4_scrapes_handled": 0,
"tcp6_connections_handled": 0,
"tcp6_announces_handled": 0,
"tcp6_scrapes_handled": 0,
"udp_requests_aborted": 0,
"udp4_requests": 0,
"udp4_connections_handled": 0,
"udp4_announces_handled": 0,
"udp4_scrapes_handled": 0,
"udp4_responses": 0,
"udp4_errors_handled": 0,
"udp6_requests": 0,
"udp6_connections_handled": 0,
"udp6_announces_handled": 0,
"udp6_scrapes_handled": 0,
"udp6_responses": 0,
"udp6_errors_handled": 0
}We will add these new metrics:
upd_average_connect_latency: the average time processing a UDP connect request takes.upd_average_announce_latency: the average time processing a UDP announce request takes.upd_average_scrape_latency: the average time processing a UDP announce request takes.
And also, these:
udp_banned_ips_total: the total number of IPs that have been banned for sending wrong connection IDs.udp_requests_banned: the total number of UDP requests that have been banned.
NOTE: Counting the number of requests banned can decrease the effectiveness of the banned service because it implies minimal request processing (to increase the counter). I think it's worth knowing exactly what's happening.
We can add the generic udp_banned_ips_total; in the future, if we have more reasons to ban an IP, we can create sub-counters for each reason.
@da2ce7 Should these metrics also be split into IPv4 and IPV6 metrics? I think it's not relevant in this case.
Metadata
Metadata
Assignees
Labels
Enhancement / Feature RequestSomething New
Activity
feat: [torrust#1145] add banned reqs counter to stats
feat: [torrust#1145] add banned ips total for UDP to stats
feat: [torrust#1145] add banned ips total for UDP to stats
feat: [torrust#1145] add banned ips total for UDP to stats
josecelano commentedon Jan 7, 2025
I'm going to use:
udp_average_connect_processing_timeudp_average_announce_processing_timeudp_average_scrape_processing_timeBecause I will not include the time sending the response.
refactor: [torrust#1145] add type and processing time to UDP response…
feat: [torrust#1145] add UDP avg processing time to stats
josecelano commentedon Jan 9, 2025
Renamed to:
udp_avg_connect_processing_time_nsudp_avg_announce_processing_time_nsudp_avg_scrape_processing_time_nsfeat: [torrust#1145] add UDP avg processing time to stats
Merge #1176: Add more metrics
docs(issues): [torrust#2505] correct the contract, origin, and AC4 st…
docs(issues): [torrust#2505] correct the contract, origin, and AC4 st…
docs(issues): [torrust#2505] correct the contract, origin, and AC4 st…
Merge #2524: fix(udp-core): [#2505] count only IPs over the limit as …