jaeger-client-go uber 的日志系统 go get 出现错误第一次遇到 求大佬了来了解一下

YeXiaoChai · · 1094 次点击 · 开始浏览    置顶
这是一个创建于 的主题,其中的信息可能已经有所发展或是发生改变。

执行 go get -u -v github.com/uber/jaeger-client-go/ github.com/uber/jaeger-client-go (download) github.com/apache/thrift (download) github.com/opentracing/opentracing-go (download) github.com/uber/jaeger-lib (download) github.com/codahale/hdrhistogram (download) github.com/uber/jaeger-client-go/thrift-gen/sampling github.com/uber/jaeger-client-go/thrift-gen/jaeger github.com/uber/jaeger-client-go/thrift-gen/zipkincore # github.com/uber/jaeger-client-go/thrift-gen/zipkincore thrift-gen/zipkincore/zipkincollector.go:77:20: not enough arguments in call to oprot.Flush have () want (context.Context) thrift-gen/zipkincore/zipkincollector.go:101:15: assignment mismatch: 2 variables but 1 values thrift-gen/zipkincore/zipkincollector.go:147:42: cannot use zipkinCollectorProcessorSubmitZipkinBatch literal (type *zipkinCollectorProcessorSubmitZipkinBatch) as type thrift.TProcessorFunction in assignment: *zipkinCollectorProcessorSubmitZipkinBatch does not implement thrift.TProcessorFunction (wrong type for Process method) have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException) want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException) thrift-gen/zipkincore/zipkincollector.go:157:27: not enough arguments in call to processor.Process have (int32, thrift.TProtocol, thrift.TProtocol) want (context.Context, int32, thrift.TProtocol, thrift.TProtocol) thrift-gen/zipkincore/zipkincollector.go:165:13: not enough arguments in call to oprot.Flush have () want (context.Context) thrift-gen/zipkincore/zipkincollector.go:182:14: not enough arguments in call to oprot.Flush have () want (context.Context) thrift-gen/zipkincore/zipkincollector.go:195:14: not enough arguments in call to oprot.Flush have () want (context.Context) thrift-gen/zipkincore/zipkincollector.go:209:23: not enough arguments in call to oprot.Flush have () want (context.Context) # github.com/uber/jaeger-client-go/thrift-gen/sampling thrift-gen/sampling/samplingmanager.go:77:20: not enough arguments in call to oprot.Flush have () want (context.Context) thrift-gen/sampling/samplingmanager.go:101:15: assignment mismatch: 2 variables but 1 values thrift-gen/sampling/samplingmanager.go:147:44: cannot use samplingManagerProcessorGetSamplingStrategy literal (type *samplingManagerProcessorGetSamplingStrategy) as type thrift.TProcessorFunction in assignment: *samplingManagerProcessorGetSamplingStrategy does not implement thrift.TProcessorFunction (wrong type for Process method) have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException) want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException) thrift-gen/sampling/samplingmanager.go:157:27: not enough arguments in call to processor.Process have (int32, thrift.TProtocol, thrift.TProtocol) want (context.Context, int32, thrift.TProtocol, thrift.TProtocol) thrift-gen/sampling/samplingmanager.go:165:13: not enough arguments in call to oprot.Flush have () want (context.Context) thrift-gen/sampling/samplingmanager.go:182:14: not enough arguments in call to oprot.Flush have () want (context.Context) thrift-gen/sampling/samplingmanager.go:195:14: not enough arguments in call to oprot.Flush have () want (context.Context) thrift-gen/sampling/samplingmanager.go:209:23: not enough arguments in call to oprot.Flush have () want (context.Context) # github.com/uber/jaeger-client-go/thrift-gen/jaeger thrift-gen/jaeger/agent.go:77:20: not enough arguments in call to oprot.Flush have () want (context.Context) thrift-gen/jaeger/agent.go:101:34: cannot use agentProcessorEmitBatch literal (type *agentProcessorEmitBatch) as type thrift.TProcessorFunction in assignment: *agentProcessorEmitBatch does not implement thrift.TProcessorFunction (wrong type for Process method) have Process(int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException) want Process(context.Context, int32, thrift.TProtocol, thrift.TProtocol) (bool, thrift.TException) thrift-gen/jaeger/agent.go:111:27: not enough arguments in call to processor.Process have (int32, thrift.TProtocol, thrift.TProtocol) want (context.Context, int32, thrift.TProtocol, thrift.TProtocol) thrift-gen/jaeger/agent.go:119:13: not enough arguments in call to oprot.Flush have () want (context.Context)

有疑问加站长微信联系(非本文作者)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

1094 次点击  
加入收藏 微博
1 回复  |  直到 2018-04-11 17:15:49
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传