wangxingzhen opened a new issue, #11769:
URL: https://github.com/apache/skywalking/issues/11769

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache SkyWalking Component
   
   OAP server (apache/skywalking)
   
   ### What happened
   
   When I build kratos, I get this error. My project has only grpc service, no 
http service. Is this the reason? There are more than a dozen microservices in 
this project directory, and I tried to add skywalking to one of them during 
build, but this error occurred.
   
   ➜  server git:(dev) ✗ go build -tags netgo -o service-market  -toolexec 
"/skywalking-go/bin/skywalking-go-agent--darwin-arm64 -config 
/skywalking-go/tools/go-agent/config/agent.default.yaml" -a .   
   # github.com/go-kratos/kratos/v2/transport/http
   
/var/folders/fd/6tb4j71n3rj4tdx6scv9fj400000gp/T/go-build842865790/b278/skywalking_enhance_http_client_middleware.go:38:24:
 tr.RequestHeader().Add undefined (type transport.Header has no field or method 
Add)
   2024/01/14 21:59:11 exit status 2
   
   
   ### What you expected to happen
   
   I Should be successfully compiled
   
   ### How to reproduce
   
   I want to know what caused this
   
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
notifications-unsubscr...@skywalking.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to