Add Metrics Collection (gamify discord????) #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
from collections import Counter
from datetime import datetime
class MetricsCollector:
def init(self):
self.command_counts = Counter()
self.error_counts = Counter()
self.start_time = datetime.now()
metrics = MetricsCollector()