diff --git a/integration_metrics_test.go b/integration_metrics_test.go index 6ac534e..57f2adf 100644 --- a/integration_metrics_test.go +++ b/integration_metrics_test.go @@ -205,13 +205,12 @@ func getMetrics(port int) (m xip.Metrics) { Expect(err).ToNot(HaveOccurred()) var uptime int var junk string - var greaterThanOrEqualsUnicode string _, err = fmt.Sscanf(string(stdout), "\"Uptime: %d\"\n"+ "\"Blocklist: %s %s %s\n"+ "\"Queries: %d (%s\n"+ // %s "swallows" the `/s"` at the end "\"TCP/UDP: %d/%d\"\n"+ - "\"Answer %s 1: %d (%s\n"+ // %s "swallows" the `/s"` at the end + "\"Answer > 0: %d (%s\n"+ // %s "swallows" the `/s"` at the end "\"A: %d\"\n"+ "\"AAAA: %d\"\n"+ "\"TXT Source: %d\"\n"+ @@ -223,7 +222,7 @@ func getMetrics(port int) (m xip.Metrics) { &junk, &junk, &junk, &m.Queries, &junk, &m.TCPQueries, &m.UDPQueries, - &greaterThanOrEqualsUnicode, &m.AnsweredQueries, &junk, + &m.AnsweredQueries, &junk, &m.AnsweredAQueries, &m.AnsweredAAAAQueries, &m.AnsweredTXTSrcIPQueries, diff --git a/k8s/document_root_sslip.io/index.html b/k8s/document_root_sslip.io/index.html index 5c35806..a6f2db4 100644 --- a/k8s/document_root_sslip.io/index.html +++ b/k8s/document_root_sslip.io/index.html @@ -267,7 +267,7 @@ dig @ns-azure.sslip.io metrics.status.sslip.io txt +short "Blocklist: 2023-10-04 07:37:50-07 3,6" "Queries: 14295231 (86.3/s)" "TCP/UDP: 5231/14290000" - "Answer ≥ 1: 4872793 (29.4/s)" + "Answer > 0: 4872793 (29.4/s)" "A: 4025711" "AAAA: 247215" "TXT Source: 57" @@ -294,7 +294,7 @@ dig @ns-azure.sslip.io metrics.status.sslip.io txt +short