mirror of https://github.com/grafana/grafana.git
fix(internal metrics): removed local dev code
This commit is contained in:
parent
e336fb3d60
commit
f79600b352
|
|
@ -58,9 +58,7 @@ func updateTotalStats() {
|
|||
|
||||
// every interval also publish totals
|
||||
metricPublishCounter++
|
||||
if metricPublishCounter%2 == 0 {
|
||||
metricsLogger.Info("Stats!")
|
||||
|
||||
if metricPublishCounter%10 == 0 {
|
||||
// get stats
|
||||
statsQuery := m.GetSystemStatsQuery{}
|
||||
if err := bus.Dispatch(&statsQuery); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue