We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27e3f3a commit 12e9bdcCopy full SHA for 12e9bdc
pkg/gofr/gofr.go
@@ -315,7 +315,7 @@ func (a *App) initTracer() {
315
316
// deprecated : tracer_host and tracer_port are deprecated and will be removed in upcoming versions.
317
tracerHost := a.Config.Get("TRACER_HOST")
318
- tracerPort := a.Config.Get("TRACER_PORT")
+ tracerPort := a.Config.GetOrDefault("TRACER_PORT", "9411")
319
320
if tracerURL == "" && (tracerHost != "" || tracerPort != "") {
321
a.Logger().Warn("TRACER_HOST and TRACER_PORT are deprecated, use TRACER_URL instead")
0 commit comments