17 lines
475 B
Go
17 lines
475 B
Go
package dht
|
|
|
|
import (
|
|
"expvar"
|
|
)
|
|
|
|
var (
|
|
read = expvar.NewInt("dhtRead")
|
|
readBlocked = expvar.NewInt("dhtReadBlocked")
|
|
readNotKRPCDict = expvar.NewInt("dhtReadNotKRPCDict")
|
|
readUnmarshalError = expvar.NewInt("dhtReadUnmarshalError")
|
|
readQuery = expvar.NewInt("dhtReadQuery")
|
|
announceErrors = expvar.NewInt("dhtAnnounceErrors")
|
|
writeErrors = expvar.NewInt("dhtWriteErrors")
|
|
writes = expvar.NewInt("dhtWrites")
|
|
)
|