4 ms·
Out of curiosity, what's your justification for wanting opt out for local logging/metrics, to the extent you need a separate build?
by richardwhiuk 3y ago
Out of curiosity, what's your justification for wanting opt out for local logging/metrics, to the extent you need a separate build?
- weinzierl 3y agoPrimarily because I don't want this to be a slippery slope where the metry of today becomes the telemetry of tomorrow. As long as these features are easy to rip out and not deeply intermingled with the rest I'm good and willing to contribute metrics even. Also, no code is free, it needs to be written and maintained and the end-user needs to download, store and run it and it brings an additional risk to break things. I just wish there was to possibility to opt out of that, even if I probably wouldn't. Finally, if this metrics code is intermingled with the rest, I can see this as an additional burden for a potential certification of the compiler.
- richardwhiuk 3y agoLogs and metrics have a horrible tendency to be a cross cutting concern, sadly - you normally need to add instrumentation throughout the codebase to get good metrics.