Fixed type in error logs in metrics.go
Signed-off-by: Vladislav Stishenko <github@vst.name>
This commit is contained in:
parent
dbec0d7b36
commit
d5d671b74d
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ func StartRecording(maxClients int64, prometheusEnabled bool, prometheusCleanUns
|
|||
case RecordEntryTypeStart:
|
||||
geohash, country, location, err := geoip.GeohashAndLocation(r.IpAddr, geoOption)
|
||||
if err != nil {
|
||||
glog.Warningf("Failed to obatin the geohash of %v: %v.", r.IpAddr, err)
|
||||
glog.Warningf("Failed to obtain the geohash of %v: %v.", r.IpAddr, err)
|
||||
}
|
||||
clientIP.With(prometheus.Labels{
|
||||
"ip": r.IpAddr,
|
||||
|
|
|
|||
Loading…
Reference in a new issue