gauged: a time series database(github.com) |
gauged: a time series database(github.com) |
- A MySQL backend should be very fast, but scaling it into multiple shards will have to be an exercise for the user. Perhaps CitusDB (PostgreSQL compatible) could be useful here.
- Metrics cannot be tagged. This will make it useless for any sort of rollups or breakdowns ("give me the sum of requests over my servers in the XYZ data center"; "give me the requests for each server in the XYZ data center by hostname").
The second issue in particular needs attention before it can complete with enterprise-grade metrics solutions such as Datadog.
requests = 0
for key in gauged.keys('requests:'):
requests += gauged.aggregate(key, Gauged.SUM, start=-Gauged.WEEK)What are the other advantages, disadvantages and trade-offs?