Skip to content

修改 grpc 调用日志级别和增加 tid 传递 #25

修改 grpc 调用日志级别和增加 tid 传递

修改 grpc 调用日志级别和增加 tid 传递 #25

Triggered via push April 22, 2024 03:48
Status Success
Total duration 2m 48s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 10 notices
Bool condition: transport/http/server_test.go#L371
Expression `v` is always `true`
Bool condition: transport/http/server_test.go#L369
Expression `v` is always `true`
Bool condition: transport/http/server_test.go#L370
Expression `v` is always `true`
Deprecated element: transport/grpc/resolver/discovery/builder_test.go#L35
`DisableDebugLog` is deprecated
Deprecated element: middleware/tracing/span.go#L118
`NetPeerNameKey` is deprecated
Deprecated element: middleware/tracing/span.go#L119
`NetPeerPortKey` is deprecated
Deprecated element: transport/grpc/resolver/discovery/builder.go#L43
Deprecated function is still used
Deprecated element: transport/grpc/resolver/discovery/builder_test.go#L76
`DisableDebugLog` is deprecated
Unexported return type of the exported function: adapter/logger/kratos/logger.go#L18
Exported function with the unexported return type
Reserved word used as name: pkg/net/net.go#L58
Variable `max` collides with the 'builtin' function
Malformed build tag: transport/http/codec_go1.20.go#L2
//+build comments can be removed
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/version.go#L15
Package comment should be of the form 'Package otelsarama ...'
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/option.go#L15
Package comment should be of the form 'Package otelsarama ...'
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/producer.go#L15
Package comment should be of the form 'Package otelsarama ...'
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/consumer_group.go#L15
Package comment should be of the form 'Package otelsarama ...'
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/message.go#L15
Package comment should be of the form 'Package otelsarama ...'
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/consumer.go#L15
Package comment should be of the form 'Package otelsarama ...'
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/dispatcher.go#L15
Package comment should be of the form 'Package otelsarama ...'
'defer' in the loop: pkg/net/net_test.go#L20
Possible resource leak, `defer` is called in the `for` loop
Error string should not be capitalized or end with punctuation: middleware/middleware.go#L15
Error string should not be capitalized or end with punctuation mark