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
{{ message }}
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
69733c0 feat: [torrust#67] fix metrics dashboard titles and add label inet (Jose Celano)
Pull request description:
Graphs titles didn't match the filters.
- Some graphs didn't specify it's for UDP4.
- They didn't have a label to filter the IP family (inet), so inet6 was also included. That is not a problem yet becuase we haven't enabled inet6, but it would be when we [enabled it](torrust#52).
- It also contains a fix I applied some days ago. For the average processing times, the aggregate function should also be "average" instead of "sum". To calculate the average processing times for all UDP4 connection requests, we have to calculate the average for all the time series:
```
# HELP udp_tracker_server_performance_avg_processed_requests_total Total number of UDP requests processed for the average performance metrics
# TYPE udp_tracker_server_performance_avg_processed_requests_total counter
udp_tracker_server_performance_avg_processed_requests_total{request_kind="connect",server_binding_address_ip_family="inet",server_binding_address_ip_type="plain",server_binding_ip="0.0.0.0",server_binding_port="6868",server_binding_protocol="udp"} 2710
udp_tracker_server_performance_avg_processed_requests_total{request_kind="scrape",server_binding_address_ip_family="inet",server_binding_address_ip_type="plain",server_binding_ip="0.0.0.0",server_binding_port="6969",server_binding_protocol="udp"} 749970
udp_tracker_server_performance_avg_processed_requests_total{request_kind="connect",server_binding_address_ip_family="inet",server_binding_address_ip_type="plain",server_binding_ip="0.0.0.0",server_binding_port="6969",server_binding_protocol="udp"} 27088948
udp_tracker_server_performance_avg_processed_requests_total{request_kind="announce",server_binding_address_ip_family="inet",server_binding_address_ip_type="plain",server_binding_ip="0.0.0.0",server_binding_port="6969",server_binding_protocol="udp"} 40968541
```
ACKs for top commit:
josecelano:
ACK 69733c0
Tree-SHA512: df9d36555b8d4fd3ce1a28becdb97b1de3ffa370ad427dd220e0cc43dbe3eb832cd8b35f0e7386751e469c770f1933269405e308a015cee0d241b7de00205be9
0 commit comments