Improve the output and extraction of psiphon metrics

This commit is contained in:
Arturo Filastò
2020-01-07 16:13:13 +02:00
parent 1e8b482c23
commit 24316728b9
2 changed files with 21 additions and 6 deletions
+2 -2
View File
@@ -71,8 +71,8 @@ var summarizers = map[string]func(uint64, uint64, string) []string{
},
"circumvention": func(totalCount uint64, anomalyCount uint64, ss string) []string {
return []string{
fmt.Sprintf("Detected: %v", anomalyCount > 0),
"",
fmt.Sprintf("%d tested", totalCount),
fmt.Sprintf("%d blocked", anomalyCount),
"",
}
},