{"push_id":985815327,"size":1,"distinct_size":1,"ref":"refs/heads/jss-5499-extend-tsm-cache-stats","head":"7d57f3bf82e5116f85de070571c40c8c206b5d57","before":"b570901a02df2a1b886c09300f86bbd0dfc34576","commits":[{"sha":"7d57f3bf82e5116f85de070571c40c8c206b5d57","author":{"email":"44f878afe53efc66b76772bd845eb65944ed8232@wildducktheories.com","name":"Jon Seymour"},"message":"tsm: cache: add cache throughput related statistics.\n\nComplementing and extending the changes in #5758.\n\nAdd 2 level statistics:\n\n  * snapshotCount\n  * cacheAge\n\nAdd 2 counter statistics\n\n  * cachedBytes\n  * WALCompactionTime\n\nsnapshotCount can be used to measure transient write errors that are causing snapshots to accumulate\n\ncacheAge can be used to guage the level of write activity into the cache\n\ndifferences between cachedBytes stats sampled at different times can be used to calculate cache throughput rates\n\n(cachedBytes-diskBytes)/WALCompactionTime can be used calculate TSM compaction throughput.\n\nratio of difference between first and last WAL compaction time over the interval\nlength is an estimate of percentage of cache throughput consumed.\n\nSigned-off-by: Jon Seymour <jon@wildducktheories.com>","distinct":true,"url":"https://api.github.com/repos/jonseymour/influxdb/commits/7d57f3bf82e5116f85de070571c40c8c206b5d57"}]}