Browse Source

Fix stathat multi-stat posting syntax

Ask Bjørn Hansen 12 years ago
parent
commit
2f729e7f5b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      stathat.go

+ 1 - 1
stathat.go

@@ -29,7 +29,7 @@ func statHatPoster() {
 		newQueries := current - lastQueryCount
 		newQueries := current - lastQueryCount
 		lastQueryCount = current
 		lastQueryCount = current
 
 
-		stathat.PostEZCount("queries:"+suffix, Config.StatHat.ApiKey, int(newQueries))
+		stathat.PostEZCount("queries~"+suffix, Config.StatHat.ApiKey, int(newQueries))
 		stathat.PostEZValue("goroutines "+serverId, Config.StatHat.ApiKey, float64(runtime.NumGoroutine()))
 		stathat.PostEZValue("goroutines "+serverId, Config.StatHat.ApiKey, float64(runtime.NumGoroutine()))
 
 
 	}
 	}