Implement a running count of the number of events per minute

This commit is contained in:
2019-07-28 15:07:46 +01:00
parent 38cabc0472
commit 4ce093bfbe
4 changed files with 16 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ class Stats:
stats.append(" Unique: %s" % len(main.liveNets()))
stats.append("Channels: %s" % numChannels)
stats.append("User records: %s" % numWhoEntries)
stats.append("Events/min: %s" % main.lastMinuteSample)
counterEvents = count.getEvents()
if counterEvents == None:
stats.append("No counters records")