We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d265ae6 commit 31fce06Copy full SHA for 31fce06
pkg/gofr/gofr.go
@@ -327,7 +327,7 @@ func (a *App) initTracer() {
327
return
328
}
329
330
- if tracerURL == "" && tracerHost != "" {
+ if tracerURL == "" && tracerHost != "" && traceExporter == traceExporterGoFr {
331
a.Logger().Warn("TRACER_HOST and TRACER_PORT are deprecated, use TRACER_URL instead")
332
333
tracerURL = fmt.Sprintf("%s:%s", tracerHost, tracerPort)
0 commit comments