mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-10-06 17:26:58 +08:00
fix: cross-service trace issues
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
|
||||
"github.com/zhufuyi/sponge/configs"
|
||||
"github.com/zhufuyi/sponge/internal/config"
|
||||
|
||||
//"github.com/zhufuyi/sponge/internal/rpcclient"
|
||||
|
||||
"github.com/zhufuyi/sponge/pkg/logger"
|
||||
@@ -36,7 +37,7 @@ func Config() {
|
||||
)
|
||||
|
||||
// initializing tracing
|
||||
if cfg.App.EnableTracing {
|
||||
if cfg.App.EnableTrace {
|
||||
tracer.InitWithConfig(
|
||||
cfg.App.Name,
|
||||
cfg.App.Env,
|
||||
|
Reference in New Issue
Block a user