增加链路追踪配置,优化服务退出流程,gf版本升级到v2.4.2

This commit is contained in:
孟帅
2023-06-09 19:13:26 +08:00
parent 48f8c20d9c
commit 05e85f52e7
16 changed files with 94 additions and 33 deletions

View File

@@ -1,3 +1,7 @@
# 应用名称
appName: "hotgo"
# hotgo配置
hotgo:
# debug开关开启后接口出现错误时会向前端输出堆栈信息默认为true
@@ -231,6 +235,12 @@ database:
Prefix: "hg_"
# 链路追踪
jaeger:
switch: false # 链路追踪开关默认为false
endpoint: "127.0.0.1:6831" # jaeger-agent上报地址
# 生成代码
hggen:
allowedIPs: ["127.0.0.1", "*"] # 白名单*代表所有只有允许的IP后台才能使用生成代码功能