canonical / tempo-k8s-operator

This charmed operator automates the operational procedures of running Grafana Tempo, an open-source tracing backend.
https://charmhub.io/tempo-k8s
Apache License 2.0
5 stars 3 forks source link

Log spam from the trace lib #66

Closed sed-i closed 5 months ago

sed-i commented 5 months ago

Enhancement Proposal

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.