Closed Anthony-Dong closed 2 years ago
It looks like you put some null value into the span, which proto is not accepted.
It looks like you put some null value into the span, which proto is not accepted.
但是目前使用的接口api来看,没有可能开发人员对于引入nil的操作
type Span interface {
SetOperationName(string)
GetOperationName() string
SetPeer(string)
SetSpanLayer(v3.SpanLayer)
SetComponent(int32)
Tag(Tag, string)
Log(time.Time, ...string)
Error(time.Time, ...string)
End()
IsEntry() bool
IsExit() bool
}
所以不太清楚是啥原因造成的,有没有可能是因为 grpc/pb 包版本的问题
Such as you put tage value as string, when it is serialized later, it could cause NULL error. But need to check proto go source codes, whether it is a panic. It is an exception only in Java.
Could you please use log reporter(go2sky.WithReporter(reporter.NewLogReporter())
) to print segment data to the std
? It uses json.Marshal
to serialize the span data as JSON format, which will help you find out where has a null value.
Also, I notice your protobuf
version is not the same as go2sky@v.0.5.0
, please have a check.
Could I know how to solve it previously, since I meet the same problem and report the same error?
我们当时出现问题的服务器把 skywalking 组件给下掉了,有可能是日志过大!因为我们当时会在apm中记录业务请求的日志,那个服务器日志量大且单次请求日志量也多
Describe the bug 线上发现因为skywalking 上报trace出现频繁的重启
To Reproduce 程序panic信息,只有这些!确实不太好定位
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.