|
|
|
|
|
by chrisohara
4477 days ago
|
|
Tagging would be the next addition. I added the ability to search for keys by prefix quite efficiently, so provided one stored keys like "requests:server1", "requests:server2", one could easily run the following requests = 0
for key in gauged.keys('requests:'):
requests += gauged.aggregate(key, Gauged.SUM, start=-Gauged.WEEK)
|
|