feat(usage_metrics): add timer metrics

This commit is contained in:
bergquist
2016-06-01 15:04:58 +02:00
parent b2c0679a7f
commit a8ac37f517
5 changed files with 125 additions and 5 deletions

View File

@ -77,6 +77,8 @@ func GetDashboard(c *middleware.Context) {
}
c.JSON(200, dto)
metrics.M_Api_Dashboard_Get_Timer.AddTiming(123333)
}
func getUserLogin(userId int64) string {