You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #1130: Add more metrics to the UDP tracker stats
6ca82e9 feat: [#1128] add new metric UDP total requests aborted (Jose Celano)
9499fd8 feat: [#1128] add new metric UDP total responses (Jose Celano)
286fe02 feat: [#1128] add new metric UDP total requests (Jose Celano)
Pull request description:
Add more metrics to the UDP tracker stats. The new values are:
- `udp4_requests`: total number of requests received from IPv4 clients.
- `udp6_requests`: total number of requests received from IPv6 clients.
- `udp4_responses`: total number of responses sent to IPv4 clients.
- `udp6_responses`: total number of responses sent to IPv6 clients.
- `udp_requests_aborted`: total number of requests aborted to make room in the active requests buffer.
### Notes
- Responses sent might differ from requests received because of aborted requests.
- When we [merge the IP ban service](#1124), we can add a new metric for the total number of IPs banned.
- I want to add these new metrics to the [live demo Grafana dashboard](torrust/torrust-demo#20).
### Subtasks
- [x] `udp4_requests`
- [x] `udp6_requests`
- [x] `udp4_responses`
- [x] `udp6_responses`
- [x] `udp_requests_aborted`
- [x] Benchmarking to check how it affects performance before merging it.
ACKs for top commit:
josecelano:
ACK 6ca82e9
Tree-SHA512: 7fbf75b264b191f5c58fcecde8d5e783bbe54ee1c1799acdddc04a9ef64b7196d8b95d1bcad420b1df269bc7929e44417a1d164c6953b00804b0d1e5f0b36e7d
0 commit comments