When there are no tracing relation in place, we still frequently get repetitive log lines:
unit-prometheus-0: 19:22:18 DEBUG unit.prometheus/0.juju-log Emitting Juju event update_status.
unit-prometheus-0: 19:22:18 DEBUG unit.prometheus/0.juju-log tracer was not found in context variable, looking up in default context
unit-prometheus-0: 19:22:18 DEBUG unit.prometheus/0.juju-log Couldn't find context var for tracer: span will be skipped
unit-prometheus-0: 19:22:18 DEBUG unit.prometheus/0.juju-log tracer not found
unit-prometheus-0: 19:22:18 DEBUG unit.prometheus/0.juju-log tracer was not found in context variable, looking up in default context
unit-prometheus-0: 19:22:18 DEBUG unit.prometheus/0.juju-log Couldn't find context var for tracer: span will be skipped
unit-prometheus-0: 19:22:18 DEBUG unit.prometheus/0.juju-log tracer not found
This happens every hook so it would be nice not to see it when it's not relevant.
Enhancement Proposal
When there are no tracing relation in place, we still frequently get repetitive log lines:
This happens every hook so it would be nice not to see it when it's not relevant.