Skip to content

Commit

Permalink
minor log and otel config tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Nov 18, 2024
1 parent 7d494b5 commit c4a1120
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func pipeConfig(opts *options) (stop func()) {
if reflect.DeepEqual(a, b) {
log.Debug("Config unchanged, ignoring")
} else {
log.Debug("Dispatching updated config")
log.Debugf("Dispatching updated config from %v", src)
opts.dispatch(cfg, src)
lastCfg = b
}
Expand Down
2 changes: 1 addition & 1 deletion otel/otel.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func Configure(cfg *Config) {

// Configure OTEL tracing to use the above TracerProvider
otel.SetTracerProvider(tp)
ops.EnableOpenTelemetry("flashlight")
ops.EnableOpenTelemetry(name)

stopperMx.Lock()
if stopper != nil {
Expand Down

0 comments on commit c4a1120

Please sign in to comment.