mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 08:12:53 +08:00
feat(timing): timing is now working with graphite and influxdb
This commit is contained in:
@ -257,3 +257,7 @@ func (ctx *Context) JsonApiErr(status int, message string, err error) {
|
||||
func (ctx *Context) HasUserRole(role m.RoleType) bool {
|
||||
return ctx.OrgRole.Includes(role)
|
||||
}
|
||||
|
||||
func (ctx *Context) TimeRequest(timer metrics.Timer) {
|
||||
ctx.Data["perfmon.timer"] = timer
|
||||
}
|
||||
|
Reference in New Issue
Block a user