Closed SpokeyWheeler closed 4 years ago
Metric categories:
CPU Memory Disk User Performance Other
CPU:
Memory:
Disk:
per table:
[ ] - row count : gauge
[ ] - data size in KB : gauge
[ ] - index size in KB : gauge
[ ] - number of pages : gauge
[ ] - row size : gauge
[ ] - next extent size : gauge
[ ] - number of sequential scans : counter
[ ] - number of reads : counter
[ ] - number of writes : counter
per dbspace:
[ ] - free space : gauge
[ ] - used space : gauge
[ ] - total space : gauge
[ ] - number of reads : counter
[ ] - number of writes : counter
User:
Performance:
Other:
Well, it's not going to be that simple, after all. I need to either write a lot of code to manage the SQL for edge cases and complex SQL, or I need to change the way I process the code. Since I'm post-processing the data anyway, and writing an SQL grammar checker is too hard, I'm going to refactor this to not fiddle with the SQL and just post-process the output.
Joy.
I think this is done! 🎉
At the moment, there aren't really sufficient metrics provided by default. Although this can't provide any application statistics, more generic metrics could be made available - pull requests would be very welcome here!