Fixed metrics endpoint not working

This commit is contained in:
konrad 2019-05-12 16:49:16 +02:00
parent 3d7fd9ca20
commit de24fcc2f8
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
5 changed files with 41 additions and 23 deletions

View file

@ -138,6 +138,8 @@ func RegisterRoutes(e *echo.Echo) {
log.Log.Fatal("You have to enable redis in order to use metrics")
}
metrics.InitMetrics()
type countable struct {
Rediskey string
Type interface{}