Well, in this particular case I do not fully agree with the solution. telemetry is meant to be low-level, minimal-overhead library for gathering metrics and traces. In this exact case it feels that it should be direct dependency just like you are using Logger. In the end telemetry is just additional logging toolkit. So while article premise is something I agree 100%, then I do not really agree with the example used in the article.
Well, in this particular case I do not fully agree with the solution.
telemetry
is meant to be low-level, minimal-overhead library for gathering metrics and traces. In this exact case it feels that it should be direct dependency just like you are usingLogger
. In the endtelemetry
is just additional logging toolkit. So while article premise is something I agree 100%, then I do not really agree with the example used in the article.Conway’s Law at work!