Integrate ODL with Jaeger or Zipkin

好久不见. 提交于 2019-12-20 06:33:52

问题


I am trying to integrate an ODL application with Jaeger or Zipkin to trace the logs.

Jaeger worked with fine with a Java Application, but doesn't work with ODL. I get NoClassDefError even though I added the bundles:

install -s wrap:mvn:org.apache.thrift/libthrift/0.12.0
install -s wrap:mvn:io.jaegertracing/jaeger-core/0.35.4
install -s wrap:mvn:io.jaegertracing/jaeger-thrift/0.35.4
install -s wrap:mvn:io.opentracing/opentracing-api/0.31.0
install -s wrap:mvn:io.opentracing/opentracing-util/0.31.0
install -s wrap:mvn:io.opentracing/opentracing-noop/0.31.0
install -s wrap:mvn:io.opentracing.contrib/opentracing-tracerresolver/0.1.0

And For Zipkin, I tried Zipkin-brave-core, but I was not able to resolve the dependencies.

I am getting this:

opendaylight-user@root>diag 259
brave-core (259)
----------------
Status: Installed
Unsatisfied Requirements:
osgi.wiring.package; filter:="(&(osgi.wiring.package=com.github.kristofa.brave.internal)(&(version>=3.16.0)(!(version>=4.0.0)))(braveinternal=true))"; resolution:="mandatory"
osgi.wiring.package; filter:="(&(osgi.wiring.package=com.twitter.zipkin.gen)(&(version>=3.16.0)(!(version>=4.0.0))))"; resolution:="mandatory"
osgi.wiring.package; filter:="(&(osgi.wiring.package=zipkin)(&(version>=1.16.0)(!(version>=2.0.0))))"; resolution:="mandatory"
osgi.wiring.package; filter:="(&(osgi.wiring.package=zipkin.internal)(&(version>=1.16.0)(!(version>=2.0.0))))"; resolution:="mandatory"

来源:https://stackoverflow.com/questions/56888570/integrate-odl-with-jaeger-or-zipkin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!