diff --git a/internal/dcensus/dcensus.go b/internal/dcensus/dcensus.go index 8de6fbd9..749c0397 100644 --- a/internal/dcensus/dcensus.go +++ b/internal/dcensus/dcensus.go @@ -178,7 +178,7 @@ func NewViewExporter(cfg *config.Config) (_ *stackdriver.Exporter, err error) { MonitoredResource: mr, DefaultMonitoringLabels: stackdriverLabels(cfg), OnError: func(err error) { - log.Errorf(context.Background(), "Stackdriver view exporter: %v", err) + log.Warningf(context.Background(), "Stackdriver view exporter: %v", err) }, }) } diff --git a/internal/dcensus/debug.go b/internal/dcensus/debug.go index 8bac6f16..fd6134a2 100644 --- a/internal/dcensus/debug.go +++ b/internal/dcensus/debug.go @@ -35,7 +35,7 @@ func (d *debugTraceExporter) ExportSpan(s *trace.SpanData) { d.err = nil d.mu.Unlock() if err != nil { - log.Errorf(ctx, "trace exporter: %v", err) + log.Warningf(ctx, "trace exporter: %v", err) log.Debugf(ctx, "trace exporter SpanData:\n%s", dumpSpanData(s)) } }