haproxy opentracing 安装构建说明

说明: 使用了centos 8 版本

依赖

  • libev
yum install -y libev-devel
  • opentracing
wget https://github.com/opentracing/opentracing-cpp/archive/v1.5.0.tar.gz
tar xf v1.5.0.tar.gz
cd opentracing-cpp-1.5.0
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt ..
make
sudo make install
  • opentracing-c-wrapper
git clone https://github.com/haproxytech/opentracing-c-wrapper.git
cd opentracing-c-wrapper
./scripts/bootstrap
./configure --prefix=/opt --with-opentracing=/opt
make
sudo make install
  • jaegertracing_plugin (可选,如果需要jaeger)
    可选的方式,通过直接下载构建好的,或者自己编译(可以使用新版本特性包括bug修复)
 
wget https://github.com/jaegertracing/jaeger-client-cpp/releases/download/v0.4.2/libjaegertracing_plugin.linux_amd64.so

构建

  • clone 代码
git clone https://github.com/haproxytech/spoa-opentracing.git
  • 构建
cd spoa-opentracing
./scripts/bootstrap
./configure --with-opentracing=/opt/
make 
make install
  • 依赖查看

使用ldd 工具

 

 

参考资料

https://github.com/haproxytech/spoa-opentracing

posted on   荣锋亮  阅读(286)  评论(0编辑  收藏  举报

编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2019-11-16 restql 学习一 安装试用
2018-11-16 drone 1.0 新的构建徽章特性
2017-11-16 lapis 集成openresty最新版本cjson 问题的解决
2015-11-16 微软发布了ASP.NET WebHooks预览版

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示