zoukankan      html  css  js  c++  java
  • pinpoint安装(docker)

    安装docker docker-compose

    yum update -y
    yum install docker epel-release python-pip -y
    pip install --upgrade pip
    pip install docker-compose

    修改daemon.json

    [root@i-vzdytl5t ~]# cat /etc/docker/daemon.json
    {"registry-mirrors": ["http://579fe187.m.daocloud.io","https://pee6w651.mirror.aliyuncs.com"]}

    启动docker

    systemctl enable docker
    systemctl start docker

    下载pinpoint-docker,启动pinpoint服务

    git clone https://github.com/naver/pinpoint-docker.git
    cd Pinpoint-Docker
    docker-compose pull && docker-compose up -d

    如有问题,请修改相对路径为绝对路径

    ...
    volumes:
    - /home/pinpoint/hbase
    - /home/pinpoint/zookeeper
    ...

    镜像

    root@i-vzdytl5t pinpoint-docker]# docker images
    REPOSITORY TAG IMAGE ID CREATED SIZE
    docker.io/zookeeper 3.4 bf5cbc9d5cac 10 days ago 146 MB
    docker.io/pinpointdocker/pinpoint-agent 1.7.3 d10e8ad4472e 11 days ago 18.5 MB
    docker.io/pinpointdocker/pinpoint-hbase 1.7.3 24ec151afe93 11 days ago 993 MB
    docker.io/pinpointdocker/pinpoint-web 1.7.3 cfffbb994f1b 11 days ago 659 MB
    docker.io/pinpointdocker/pinpoint-collector 1.7.3 998b986648a8 11 days ago 604 MB
    docker.io/pinpointdocker/pinpoint-quickstart latest 125fa49a4a38 2 weeks ago 566 MB
    docker.io/flink 1.3.1 c08ccd5bb7a6 10 months ago 480 MB

    启动完成后所起的容器

    [root@i-vzdytl5t pinpoint-docker]# docker ps
    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    770e180203e9 pinpointdocker/pinpoint-quickstart "catalina.sh run" 3 hours ago Up 3 hours 0.0.0.0:8000->8080/tcp pinpoint-quickstart
    968c689aad3d pinpointdocker/pinpoint-agent:1.7.3 "/usr/local/bin/co..." 3 hours ago Up 3 hours pinpoint-agent
    19fac27003e3 pinpointdocker/pinpoint-web:1.7.3 "/usr/local/bin/st..." 3 hours ago Up 3 hours 0.0.0.0:9997->9997/tcp, 0.0.0.0:8079->8080/tcp pinpoint-web
    08f7242e3612 pinpointdocker/pinpoint-collector:1.7.3 "/usr/local/bin/st..." 3 hours ago Up 3 hours 8080/tcp, 0.0.0.0:9994-9996->9994-9996/tcp, 0.0.0.0:9995-9996->9995-9996/udp pinpoint-collector
    23262f75eec0 pinpointdocker/pinpoint-hbase:1.7.3 "/bin/sh -c '${BAS..." 3 hours ago Up 3 hours 0.0.0.0:16010->16010/tcp, 0.0.0.0:16030->16030/tcp, 0.0.0.0:60000->60000/tcp, 0.0.0.0:60020->60020/tcp, 0.0.0.0:2180->2181/tcp pinpoint-hbase
    f0525f78484e flink:1.3.1 "/docker-entrypoin..." 4 hours ago Up 4 hours 6123/tcp, 0.0.0.0:6121-6122->6121-6122/tcp, 0.0.0.0:19994->19994/tcp, 8081/tcp pinpoint-flink-taskmanager
    ec7959d91bab zookeeper:3.4 "/docker-entrypoin..." 4 hours ago Up 4 hours 2181/tcp, 2888/tcp, 3888/tcp pinpoint-docker_zoo3_1
    67fe5108a1f8 zookeeper:3.4 "/docker-entrypoin..." 4 hours ago Up 4 hours 2181/tcp, 2888/tcp, 3888/tcp pinpoint-docker_zoo2_1
    ff751bd4ce44 zookeeper:3.4 "/docker-entrypoin..." 4 hours ago Up 4 hours 2181/tcp, 2888/tcp, 3888/tcp pinpoint-docker_zoo1_1
    34ae285a9246 flink:1.3.1 "/docker-entrypoin..." 4 hours ago Up 4 hours 6123/tcp, 0.0.0.0:8081->8081/tcp pinpoint-flink-jobmanager

    访问nodeIP:8079

    Hbase 表结构修改

    alter 'TraceV2' , {NAME=>'S',TTL=>'604800',COMPRESSION => 'GZ',}
    alter 'ApplicationTraceIndex' , {NAME=>'I',TTL=>'1209600',COMPRESSION => 'GZ',} 
  • 相关阅读:
    使用servletContext和类加载器加载文件
    servletConfig和servletContext的应用
    java中的正则表达式(一)
    servlet的生命周期
    servlet的基本原理
    java中类加载机制
    java中的动态代理(三)
    Navicat Premium 连接Oracle 数据库
    使用SqlServer2005 Service Broker 和 SqlDependency类提供数据更改的通知
    WebService简单使用
  • 原文地址:https://www.cnblogs.com/kcxg/p/12202028.html
Copyright © 2011-2022 走看看