Hacker News new | ask | show | jobs
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)
1 comments

Tagging needs to be multi-dimensional to be effective (e.g., host=X, device=Y, interface=Z, etc.)