about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.go b/src/http.go
index 1ff432b..04ade17 100644
--- a/src/http.go
+++ b/src/http.go
@@ -76,6 +76,6 @@ func metricsHandler(w http.ResponseWriter, req *http.Request) {
 
 	// return the amount of passwords catched from a given city
 	for k, v := range metricsCityNum {
-		fmt.Fprintf(w, "a_metric{city=\"%s\"} %d\n", strings.ToLower(k), v)
+		fmt.Fprintf(w, "location{city=\"%s\"} %d\n", strings.ToLower(k), v)
 	}
 }