Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: 请求GSE等底层系统接口响应非200时打印Header中的关键信息 #3179 #3323

Merged
merged 5 commits into from
Dec 11, 2024

Conversation

jsonwan
Copy link
Collaborator

@jsonwan jsonwan commented Dec 10, 2024

  1. 打印读取响应体异常请求的状态码与响应内容长度;
  2. 打印响应Header中的X-Bkapi-Request-Id,用于问题定位,通过ESB/APIGW调用的接口都打印。

1. 打印读取响应体异常请求的状态码与响应内容长度。
1. 打印响应Header中的X-Bkapi-Request-Id,用于问题定位。
@jsonwan jsonwan requested a review from wangyu096 December 10, 2024 03:24
1. 状态码为200的请求不打印响应Header中的X-Bkapi-Request-Id,减少日志量。
1. 状态码非200的请求打印响应Header中不存在X-Bkapi-Request-Id提示。
@wangyu096 wangyu096 merged commit d7ca973 into TencentBlueKing:3.11.x Dec 11, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants