diff options
author | David Goulet <dgoulet@torproject.org> | 2021-12-13 10:44:24 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-12-13 10:49:00 -0500 |
commit | bf1ed5c8534c515bf1ee39bfbf8c340d704b4490 (patch) | |
tree | c41e7da0c098fa65d3a62bb510864353971b2953 /src/feature/relay/relay_metrics.c | |
parent | ad6a0ebb119dba09fd1a0d1d6eb2a1362803bce3 (diff) | |
download | tor-bf1ed5c8534c515bf1ee39bfbf8c340d704b4490.tar.gz tor-bf1ed5c8534c515bf1ee39bfbf8c340d704b4490.zip |
relay: Change DNS timeout label on MetricsPort
Change it from "timeout" to "tor_timeout" in order to indicate that the
DNS timeout is one from tor's DNS threshold and not the DNS server
itself.
Fixes #40527
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/relay/relay_metrics.c')
-rw-r--r-- | src/feature/relay/relay_metrics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/relay/relay_metrics.c b/src/feature/relay/relay_metrics.c index 0886b6ae87..fc8eb10d1b 100644 --- a/src/feature/relay/relay_metrics.c +++ b/src/feature/relay/relay_metrics.c @@ -161,7 +161,7 @@ fill_dns_error_values(void) { .name = "refused", .key = DNS_ERR_REFUSED }, { .name = "truncated", .key = DNS_ERR_TRUNCATED }, { .name = "unknown", .key = DNS_ERR_UNKNOWN }, - { .name = "timeout", .key = DNS_ERR_TIMEOUT }, + { .name = "tor_timeout", .key = DNS_ERR_TIMEOUT }, { .name = "shutdown", .key = DNS_ERR_SHUTDOWN }, { .name = "cancel", .key = DNS_ERR_CANCEL }, { .name = "nodata", .key = DNS_ERR_NODATA }, |