mirror of
				https://github.com/grafana/grafana.git
				synced 2025-02-25 18:55:37 -06:00 
			
		
		
		
	fix(internal metrics): removed local dev code
This commit is contained in:
		@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user