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

Response bytes are always 0 #393

Open
WengJim opened this issue Apr 1, 2020 · 2 comments
Open

Response bytes are always 0 #393

WengJim opened this issue Apr 1, 2020 · 2 comments
Assignees
Milestone

Comments

@WengJim
Copy link

WengJim commented Apr 1, 2020

{"time":"2020-03-31 18:16:45.187","local.app":"demo-weixinLite","traceId":"c0a801d7158564980485811531037","spanId":"0","span.kind":"server","result.code":"200","current.thread.name":"http-nio-59104-exec-2","time.cost.milliseconds":"329ms","request.url":"http://testwxlitedemo.cn/weixin/lite/restaurant/detail","method":"POST","req.size.bytes":165,**"resp.size.bytes":0**,"sys.baggage":"","biz.baggage":""}
我参考了配置,貌似也没有相应的配置相关。
引用的版本是2.4.1

com.alipay.sofa tracer-sofa-boot-starter 2.4.1
@sofastack-bot sofastack-bot bot changed the title 响应的字节一直都是0 Response bytes are always 0 Apr 1, 2020
@sofastack-bot
Copy link

sofastack-bot bot commented Apr 1, 2020

Hi @WengJim, we detect non-English characters in the issue. This comment is an auto translation by @sofastack-robot to help other users to understand this issue.

We encourage you to describe your issue in English which is more friendly to other users.

{"time": "2020-03-31 18: 16: 45.187", "local.app": "demo-weixinLite", "traceId": "c0a801d7158564980485811531037", "spanId": "0", "span.kind ":" server "," result.code ":" 200 "," current.thread.name ":" http-nio-59104-exec-2 "," time.cost.milliseconds ":" 329ms "," request .url ":" http://testwxlitedemo.cn/weixin/lite/restaurant/detail "," method ":" POST "," req.size.bytes ": 165, **" resp.size.bytes ": 0 **, "sys.baggage": "", "biz.baggage": ""} I have consulted the configuration and it seems that there is no corresponding configuration. Referenced version is 2.4.1 com.alipay.sofa tracer-sofa-boot-starter 2.4.1

@alaneuler alaneuler transferred this issue from sofastack/sofa-boot Oct 22, 2020
@glmapper
Copy link
Contributor

glmapper commented Dec 7, 2020

@WengJim 关于获取 http 结果及请求大小这块是已经问题,我们将在下个版本提供重新的计算方法来优化这个问题

@glmapper glmapper self-assigned this Dec 7, 2020
@glmapper glmapper added this to the 3.1.0 milestone Dec 7, 2020
@glmapper glmapper modified the milestones: 3.1.0, 3.1.1 Feb 20, 2021
@glmapper glmapper modified the milestones: 3.1.1, 3.1.2 Jul 15, 2021
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

No branches or pull requests

2 participants