Fixed metrics endpoint not working
This commit is contained in:
parent
3d7fd9ca20
commit
de24fcc2f8
5 changed files with 41 additions and 23 deletions
|
|
@ -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{}
|
||||
|
|
|
|||
Reference in a new issue