Fix issues with metric reporting (#11518)

* report active users in graphite stats

* use bus to publish system stats

* metrics: avoid using events unless we have to

this commit also changes the default interval
for updating the stats gauges. Seems like the old values
was a product of previous metrics implementation
This commit is contained in:
Dan Cech
2018-04-17 10:20:01 +02:00
committed by Torkel Ödegaard
parent ffe9b426d4
commit e07de80b75
2 changed files with 26 additions and 17 deletions
+1
View File
@@ -68,6 +68,7 @@ func GetSystemStats(query *m.GetSystemStatsQuery) error {
}
query.Result = &stats
return err
}