zoukankan      html  css  js  c++  java
  • docker下搭建zipkin for mysql

    docker pull openzipkin/zipkin

    新建docker-compose.yml加入以下内容,自行修改。

    version: '2'
    
    services:
      # The zipkin process services the UI, and also exposes a POST endpoint that
      # instrumentation can send trace data to. Scribe is disabled by default.
      zipkin:
        image: openzipkin/zipkin
        container_name: zipkin
        environment:
          - STORAGE_TYPE=mysql
          # Point the zipkin at the storage backend
          - MYSQL_DB=zipkin
          - MYSQL_USER=root
          - MYSQL_PASS=123456
          - MYSQL_HOST=192.168.1.8
          - MYSQL_TCP_PORT=3306
          # Uncomment to enable scribe
          # - SCRIBE_ENABLED=true
          # Uncomment to enable self-tracing
          # - SELF_TRACING_ENABLED=true
          # Uncomment to enable debug logging
          # - JAVA_OPTS=-Dlogging.level.zipkin=DEBUG -Dlogging.level.zipkin2=DEBUG
        ports:
          # Port used for the Zipkin UI and HTTP Api
          - 9411:9411
          # Uncomment if you set SCRIBE_ENABLED=true
          # - 9410:9410
        #networks: 
        #  - default 
        #  - my_net #创建网路 docker network create my_net 删除网络 docker network rm my_net
    #networks: 
      #my_net: 
        #external: true 

    守护进程启动

    cd 到docker-compose.yml目录下
    docker-compose up -d

    停止
    docker-compose stop

  • 相关阅读:
    AI 数值计算
    AI 主成分分析(PCA)
    AI 线性代数
    AI 奇异值分解(SVD)
    AI 协同过滤
    AI 卷积神经网络
    AI 随机梯度下降(SGD)
    Ecshop里添加多个h1标题
    Ecshop之ajax修改表里的状态(函数化处理)
    url地址形式的传参格式拼接
  • 原文地址:https://www.cnblogs.com/wintersoft/p/10039713.html
Copyright © 2011-2022 走看看