3 ms·
Another option is simply to print less, but expose more events in the form of counters. Unfortunately, within a kernel that’s as big as Linux, that would leave
by EdSchouten 3y ago
Another option is simply to print less, but expose more events in the form of counters.
Unfortunately, within a kernel that’s as big as Linux, that would leave you with many, many, many counters. All of which need to be exported and monitored somehow.
- taeric 3y agoThis seems to imply you would have more counters than messages? Why would that be? That is, I would expect moving to counters to be less information, period. That not the case?
- nraynaud 3y agoMy guess is that each counter would need to have a discovery point, a regular update mechanism and a documentation, while you can send obscure messages willy-nilly in the log? And also they become an Application Interface with a life cycle while (hopefully) not too many people will go parse the log as an API.
- taeric 3y agoI think that makes sense, though I would still expect counters to be more dense than logs. I'm definitely interested in any case studies on this.