diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index f7c572ef011..0b72521acfe 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -144,6 +144,8 @@ "enforced_save_search": "Enforced safe search", "number_of_dns_query_to_safe_search": "The number of DNS requests to search engines for which Safe Search was enforced", "average_processing_time": "Average processing time", + "average_upstream_response_time": "Average upstream response time", + "response_time": "Response time", "processing_time": "Processing time", "average_processing_time_hint": "Average time in milliseconds on processing a DNS request", "block_domain_use_filters_and_hosts": "Block domains using filters and hosts files", diff --git a/client/src/components/Dashboard/UpstreamAvgTime.js b/client/src/components/Dashboard/UpstreamAvgTime.js index eb198189496..bac27931074 100644 --- a/client/src/components/Dashboard/UpstreamAvgTime.js +++ b/client/src/components/Dashboard/UpstreamAvgTime.js @@ -38,7 +38,7 @@ const UpstreamAvgTime = ({ subtitle, }) => ( processing_time, + Header: response_time, accessor: 'count', maxWidth: 190, Cell: TimeCell, diff --git a/internal/stats/unit.go b/internal/stats/unit.go index d5da8756a3e..84c6770b9c3 100644 --- a/internal/stats/unit.go +++ b/internal/stats/unit.go @@ -107,8 +107,8 @@ type unit struct { // upstreamsResponses stores the number of responses from each upstream. upstreamsResponses map[string]uint64 - // upstreamsTimeSum stores the sum of processing time in microseconds of - // responses from each upstream. + // upstreamsTimeSum stores the sum of durations of successful queries in + // microseconds to each upstream. upstreamsTimeSum map[string]uint64 // nResult stores the number of requests grouped by it's result.