复用http.go里面的 g.client(),更新config.yml的注册方式, 更新jaeger链路追踪

This commit is contained in:
Cold
2025-12-15 17:27:10 +08:00
committed by 张斌
parent 8830091e7d
commit 8218487ed0
4 changed files with 102 additions and 59 deletions

View File

@@ -72,7 +72,7 @@ func doRequest(ctx context.Context, method string, url string, target any, data
}
defer func() {
if err = response.Close(); err != nil {
glog.Errorf(ctx, `%+v`, err)
glog.Error(ctx, err)
}
}()
result := response.ReadAll()