Comments (5)
方便提供下你使用的cloudwego以及kitex-contrib相关依赖库的版本吗。我通过你提供的代码无法复现。(sender URL 来自阿里云官网,不确定是否有影响)。
from kitex-examples.
sender URL 没有影响,自定义tracer可以正常上报链路日志
from kitex-examples.
Go调用,在client端,也使用initjeager不报错。可以正常执行和正常数据上报
php 调用的时候,会报错。 因为追踪代码发现是这个错误:github.com/kitex-contrib/tracer-opentracing/opentracing.go。 33行。调试发现,这行:
readSpan := c.newEventSpan("read", st, stats.ReadStart, stats.ReadFinish, span.Context()) readSpan.SetTag("recv_size", st.RecvSize())
这个readSpan是空的
from kitex-examples.
@nihaibao @lifang218c 确认问题了,当调用streaming方法时,因为是异步读写的,没有 Read 和 Write 相关 event 。在 github.com/kitex-contrib/[email protected] 上修复了这个问题,麻烦更新一下依赖。
from kitex-examples.
强! 挺速度的呢? 正在发愁怎么解决,本来想通过中间件来弄这个事,没想到这么快就修复了。 @BytedanceRPC 这个event追踪代码发现,需要调用那个提供的record 方法来生成对应的evenmap才能再次使用。。 然后这个eventmap 有12种类型。如果是php调用 只会 生成 5,1,2,6 四种事件。但是go调用的话,会依次生成5,7,8,1,2,11,12,6。
等下看看你修复的代码,感谢🙏
from kitex-examples.
Related Issues (20)
- 能不能提供一个完整的Example HOT 2
- 如何通过kitex命令生成类似bizdemo/easy_note中的目录结构 HOT 1
- 使用kitex命令自动生成代码,.thrift文件能够正常生产, .proto文件就会报错 HOT 3
- 请问如果三个模块分别用Docker打包,kitex容器间的服务注册发现要如何实现呢? HOT 7
- 文档有错别字
- kitex有go调用Java的示例吗 HOT 1
- 如何启动一个grpc server ? 通过其他的 客户端使用grpc访问? HOT 1
- 在本地环境Mac m1下启动Etcd报端口占用,请问怎么解决 HOT 2
- otel-collector配置victoriametrics域名不生效 HOT 2
- 希望提供 Trans 使用 gonet 的示例。 HOT 3
- 请问是否有搭建 easy_note 项目的流程 HOT 5
- 求助:easy_note项目在windows下build note报错 HOT 4
- wrong Makefile in easynote/cmd/user and easynote/cmd/note
- Can't compile KiteX examples code with Go 1.20 HOT 1
- Dose not support go version > 1.19? HOT 2
- [BUG] Error compiling Dockerfile due to low Go version HOT 1
- 请问windows环境下如何把easy_note项目网络库替换成gonet HOT 4
- more detail introduction in readme HOT 1
- Proposal: Build an API Gateway Based on CloudWeGo Projects HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitex-examples.