google/tarpc

log spammed with `OpenTelemetry subscriber not installed; making unsampled child context` when used w/o Otel

Licenser opened this issue · 3 comments

When using tarpc without otel it spams the logs with OpenTelemetry subscriber not installed; making unsampled child context on every request. This makes it quite unpleasant to use in this kind of scenario. It would get nice if the warning were limited to a single startup message instead of on every call or gated by a feature flag that selectively enables (or disables) OTel integration.

tikue commented

Thanks for filing! I think the log level is too verbose right now. Would it be less intrusive if the log level were trace instead of warn?

Definitely, that would be totally fine for a solution! Thanks for the quick reply :) <3

tikue commented

Fixed by 453ba1c