lotus jaegar tracing

Galatea ·
更新时间:2024-09-21
· 865 次阅读

lotus jaegar tracing~~1,jaegar install~~2,安装docker3,获取docker镜像 1,jaegar install 下载很慢 # wget https://github.com/jaegertracing/jaeger/releases/download/v1.16.0/jaeger-1.16.0-linux-amd64.tar.gz # tar -tvf jaeger-1.16.0-linux-amd64.tar.gz drwxrwxr-x travis/travis 0 2019-12-17 20:07 jaeger-1.16.0-linux-amd64/ -rwxrwxr-x travis/travis 36489618 2019-12-17 20:07 jaeger-1.16.0-linux-amd64/jaeger-ingester -rwxrwxr-x travis/travis 50275310 2019-12-17 20:07 jaeger-1.16.0-linux-amd64/jaeger-all-in-one -rwxrwxr-x travis/travis 41476041 2019-12-17 20:07 jaeger-1.16.0-linux-amd64/jaeger-collector -rwxrwxr-x travis/travis 25383027 2019-12-17 20:07 jaeger-1.16.0-linux-amd64/jaeger-agent -rwxrwxr-x travis/travis 17524378 2019-12-17 20:07 jaeger-1.16.0-linux-amd64/example-hotrod -rwxrwxr-x travis/travis 45073667 2019-12-17 20:07 jaeger-1.16.0-linux-amd64/jaeger-query # tar -zxvf jaeger-1.16.0-linux-amd64.tar.gz 2,安装docker 卸载docker # apt-get remove docker # apt-get remove docker-engine # apt-get remove docker.io # apt-get update apt-get install apt-transport-https ca-certificates curl software-properties-common # curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/gpg | sudo apt-key add - OK # add-apt-repository "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu $(lsb_release -cs) stable" 安装docker # apt-get update # apt-get install docker-ce 运行docker # systemctl enable docker # systemctl start docker # systemctl status docker 测试是否安装成功 # docker run hello-world 3,获取docker镜像 docker pull jaegertracing/all-in-one:1.16 # docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE jaegertracing/all-in-one 1.16 fea586ade9d0 2 days ago 50.5MB hello-world latest fce289e99eb9 11 months ago 1.84kB 运行jaegar docker run -d -e COLLECTOR_ZIPKIN_HTTP_PORT=9411 \ -p5775:5775/udp \ -p6831:6831/udp \ -p6832:6832/udp \ -p5778:5778 \ -p16686:16686 \ -p14268:14268 \ -p9411:9411 \ jaegertracing/all-in-one:latest # docker run -d -e COLLECTOR_ZIPKIN_HTTP_PORT=9411 \ > -p5775:5775/udp \ > -p6831:6831/udp \ > -p6832:6832/udp \ > -p5778:5778 \ > -p16686:16686 \ > -p14268:14268 \ > -p9411:9411 \ > jaegertracing/all-in-one:latest Unable to find image 'jaegertracing/all-in-one:latest' locally latest: Pulling from jaegertracing/all-in-one a6597914b288: Pull complete c2cb594bc890: Pull complete 4f1a796bf5a8: Pull complete Digest: sha256:89238bc2fd6f24c2394519cb8798ba2effc26e1b60a3a6957098d73ac78f226a Status: Downloaded newer image for jaegertracing/all-in-one:latest 24925f286c95e7d57ed99338eef3fc42c32a6837a24b7d3aa0bcf3a82c82d9d6

参考:

tools-jaegar-tracing Jaeger 二进制文件 Ubuntu 安装 Docker CE 分布式跟踪系统Jaeger(一):Jaeger简介和示例应用HotROD
作者:mixboot



lotus

需要 登录 后方可回复, 如果你还没有账号请 注册新账号