8 Commits

Author SHA1 Message Date
woozu-shin
5e44e71cc6 [NO-ISSUE] Add logging properties 2023-10-11 21:28:28 +09:00
ga-ram
3258319649 [#178] Release 2.5.3 2023-10-11 11:44:17 +09:00
ga-ram
9ad94b1460 Release 2.5.2 2023-06-14 11:38:07 +09:00
Junhyeok
8ca496cd66 add Hbase argument missing colon 2023-05-26 19:05:55 +09:00
Junhyeok
107f520548 Add Hbase version in .env 2023-05-17 11:45:58 +09:00
Junhyeok
2f096cc6ce Add Hbase version Argument 2023-05-17 11:45:58 +09:00
ga-ram
578d964582 Add pinot-data volumes 2023-04-25 15:01:17 +09:00
ga-ram
c2e3c3ed00 Update readme 2023-04-17 18:43:34 +09:00
31 changed files with 158 additions and 38 deletions

2
.env
View File

@@ -1,4 +1,4 @@
PINPOINT_VERSION=2.5.1
PINPOINT_VERSION=2.5.3
SPRING_PROFILES=release
# Used to make collector ip fixed for external microservices which uses pinpoint agent with collector ip.

View File

@@ -12,6 +12,11 @@ Installing Pinpoint with these docker files will take approximately 10min. to ch
It supports and helps you understand your application in a glance and allow you to build world-class, high-quality software.
## Supported Tags
- 2.5.3-metric (for web and collector)
- 2.5.3
- 2.5.2-metric (for web and collector)
- 2.5.2
- 2.5.1-metric (for web and collector)
- 2.5.1
- 2.5.0
- 2.4.2
@@ -56,33 +61,50 @@ git clone https://github.com/pinpoint-apm/pinpoint-docker.git
cd pinpoint-docker
docker-compose pull && docker-compose up -d
```
If you'd like to bring up a previous release. Try with docker-compose file from other tags.
Since [Pinpoint v2.5.0](https://github.com/pinpoint-apm/pinpoint/releases/tag/v2.5.0), URI Metric and Infrastructure Metric are added.
These need Apache Pinot cluster to work and [docker-compose-metric.yml](https://github.com/pinpoint-apm/pinpoint-docker/blob/master/docker-compose-metric.yml) has been added to provide them.
To use URI Metric and Infrastructure Metric, include `docker-compose-metric.yml` to bring up Pinpoint containers as decribed below.
```
git clone https://github.com/pinpoint-apm/pinpoint-docker.git
cd pinpoint-docker
docker-compose pull
docker-compose -f docker-compose.yml -f docker-compose-metric.yml up -d
```
Docker images for Pinpoint web and Pinpoint collector is provided since **v2.5.1**, so above wouldn't work with v2.5.0 images.
To use Pinpoint v2.5.0 metric modules, you need to checkout v2.5.0 and then build the images ahead with below command.
```
git clone https://github.com/pinpoint-apm/pinpoint-docker.git
cd pinpoint-docker
git checkout {tag}
docker-compose pull && docker-compose up -d
docker-compose -f docker-compose.yml -f docker-compose-metric.yml build
```
You can also build the image with `docker-compose up -d` command without pulling the image. But you can reduce the time to 1/3 by just downloading them.
If you are not interested in metric modules, simply remove `-f docker-compose-metric.yml` in docker-compose commands.
This will install and run all services required to run all features in Pinpoint in docker containers joined with same network.
- Pinpoint-Web Server
- Pinpoint-Collector
- Pinpoint-Agent
- Pinpoint-Flink(to support certain feature)
- Pinpoint-Zookeeper
- Pinpoint-Hbase
- Pinpoint-QuickStart(a sample application, 1.8.1+)
- Pinpoint-Mysql(to support certain feature)
- Pinpoint-Batch
This may take several minutes to download all necessary images.
Below are the list of images provided by this project:
- [Pinpoint-Web Server](https://hub.docker.com/r/pinpointdocker/pinpoint-web)
- [Pinpoint-Collector](https://hub.docker.com/repository/docker/pinpointdocker/pinpoint-collector/)
- [Pinpoint-Agent](https://hub.docker.com/r/pinpointdocker/pinpoint-agent)
- [Pinpoint-Flink](https://hub.docker.com/r/pinpointdocker/pinpoint-flink)
- [Pinpoint-Hbase](https://hub.docker.com/r/pinpointdocker/pinpoint-hbase)
- [Pinpoint-QuickStart](https://hub.docker.com/r/pinpointdocker/pinpoint-quickstart): a sample application, v1.8.1+
- [Pinpoint-Mysql](https://hub.docker.com/r/pinpointdocker/pinpoint-mysql)
- [Pinpoint-Batch](https://hub.docker.com/r/pinpointdocker/pinpoint-batch): v2.4.0+
You can replace `QuickStart` application part with your application to start monitoring.
- check [`Testing QuickStart application`](#testing-quickstart-application) for a quick demo of pinpoint
- check [`Monitoring YOUR Application`](#monitoring-your-application) part for further details
Below are the list of images required for this project:
- [Apache Zookeeper v3.4.13](https://hub.docker.com/_/zookeeper/tags?page=1&name=3.4.13): For Hbase and Pinpoint cluster
- [Apache Zookeeper v3.8.0](https://hub.docker.com/_/zookeeper/tags?page=1&name=3.8.0): For Pinot cluster
- [Apache Pinot](https://hub.docker.com/r/apachepinot/pinot): Tested with v0.11.0 ~ v0.13.0. Please refer to `pinot-init` in `docker-compose-metric.yml` to further see tables and schema information for Pinpoint.
- [Kafka](https://hub.docker.com/r/ubuntu/kafka): Currently using 3.1-22.04_beta. Please refer to `pinpoint-kafka-init` in `docker-compose-metric.yml` to further see topics needed for Pinpoint.
### Mysql (optional, 1.8.1+)
The Pinpoint-Mysql is necessary to use 'Alarm' feature. It's server is running on port 13306 and contains the data structure used to register users, groups, and alerts to be sent.

View File

@@ -102,6 +102,8 @@ services:
- ZOOKEEPER_HOST=pinot-zoo
networks:
- pinpoint
volumes:
- pinot-kafka-volume:/var/lib/kafka/data
pinpoint-kafka-init:
image: ubuntu/kafka:3.1-22.04_beta
@@ -128,6 +130,8 @@ services:
- "9000:9000"
networks:
- pinpoint
volumes:
- pinot-controller-volume:/tmp/data/controller
pinot-broker-0:
image: apachepinot/pinot:latest
@@ -150,6 +154,8 @@ services:
- "8098"
networks:
- pinpoint
volumes:
- pinot-server-volume:/tmp/data/server
pinot-init:
image: apachepinot/pinot:latest
@@ -166,7 +172,7 @@ services:
curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-dataType-schema.json > dataTypeSchema.json &&
sed -i 's/localhost:19092/pinpoint-kafka:9092/g' uriStatTable.json tagTable.json doubleTable.json dataTypeTable.json &&
sed -i 's/"replicasPerPartition": "[0-9*]"/"replicasPerPartition": "1"/g' uriStatTable.json tagTable.json doubleTable.json dataTypeTable.json &&
sed -i 's/.*replicasPerPartition.*/ \"replicasPerPartition\": \"1\",/g' uriStatTable.json tagTable.json doubleTable.json dataTypeTable.json &&
/opt/pinot/bin/pinot-admin.sh AddTable -schemaFile uriStatSchema.json -realtimeTableConfigFile uriStatTable.json -controllerHost pinot-controller -controllerPort 9000 -exec &&
/opt/pinot/bin/pinot-admin.sh AddTable -schemaFile tagSchema.json -realtimeTableConfigFile tagTable.json -controllerHost pinot-controller -controllerPort 9000 -exec &&
@@ -186,6 +192,9 @@ services:
- "2181"
networks:
- pinpoint
volumes:
- pinot-zoo-data:/data
- pinot-zoo-datalog:/datalog
telegraf:
image: telegraf:1.25.0
@@ -198,3 +207,10 @@ services:
curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/telegraf/pinpoint-telegraf.conf > telegraf.conf &&
sed -i 's/127.0.0.1/pinpoint-collector/g' telegraf.conf &&
telegraf -config telegraf.conf"
volumes:
pinot-zoo-data:
pinot-zoo-datalog:
pinot-server-volume:
pinot-controller-volume:
pinot-kafka-volume:

View File

@@ -48,6 +48,11 @@ services:
restart: always
depends_on:
- zoo1
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-mysql:
build:
@@ -72,6 +77,11 @@ services:
- mysql_data:/var/lib/mysql
networks:
- pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-web:
build:
@@ -110,6 +120,11 @@ services:
- "pinpoint-mysql:pinpoint-mysql"
networks:
- pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-collector:
build:
@@ -151,6 +166,11 @@ services:
- LOGGING_LEVEL_ROOT=${COLLECTOR_LOGGING_LEVEL_ROOT}
- FLINK_CLUSTER_ENABLE=${FLINK_CLUSTER_ENABLE}
- FLINK_CLUSTER_ZOOKEEPER_ADDRESS=${FLINK_CLUSTER_ZOOKEEPER_ADDRESS}
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-quickstart:
build:
@@ -169,6 +189,11 @@ services:
- pinpoint
depends_on:
- pinpoint-agent
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-batch:
build:
@@ -213,6 +238,11 @@ services:
- "pinpoint-mysql:pinpoint-mysql"
networks:
- pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-agent:
build:
@@ -244,6 +274,11 @@ services:
- PROFILER_TRANSPORT_MODULE=${PROFILER_TRANSPORT_MODULE}
depends_on:
- pinpoint-collector
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
#zookeepers
zoo1:
@@ -261,6 +296,11 @@ services:
ZOO_SERVERS: server.1=0.0.0.0:2888:3888 server.2=zoo2:2888:3888 server.3=zoo3:2888:3888
networks:
- pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
zoo2:
image: zookeeper:3.4.13
@@ -277,6 +317,11 @@ services:
ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=0.0.0.0:2888:3888 server.3=zoo3:2888:3888
networks:
- pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
zoo3:
image: zookeeper:3.4.13
@@ -293,6 +338,11 @@ services:
ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=zoo2:2888:3888 server.3=0.0.0.0:2888:3888
networks:
- pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
##flink
jobmanager:
@@ -316,6 +366,11 @@ services:
- pinpoint
depends_on:
- zoo1
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
taskmanager:
build:
@@ -344,6 +399,11 @@ services:
- JOB_MANAGER_RPC_ADDRESS=jobmanager
networks:
- pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
volumes:
data-volume:

View File

@@ -1,5 +1,5 @@
### Pinpoint with Java
PINPOINT_VERSION=2.5.1
PINPOINT_VERSION=2.5.3
SPRING_PROFILES=release
AGENT_ID=java-app-in-docker
APP_NAME=JavaAttachExample

View File

@@ -1,5 +1,5 @@
### Pinpoint with Tomcat
PINPOINT_VERSION=2.5.1
PINPOINT_VERSION=2.5.3
SPRING_PROFILES=release
APP_PORT=8085
AGENT_ID=app-in-docker

View File

@@ -1,4 +1,4 @@
PINPOINT_VERSION=2.5.1
PINPOINT_VERSION=2.5.3
SPRING_PROFILES=release
### Pinpoint-Agent

View File

@@ -1,6 +1,6 @@
FROM alpine:3.7
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.1}
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.3}
ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-agent-${PINPOINT_VERSION}.tar.gz
COPY /build/scripts/configure-agent.sh /usr/local/bin/

View File

@@ -4,6 +4,8 @@
This Docker image contains the Pinpoint Agent component of the Pinpoint application monitoring system.
## Supported Tags
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.2

View File

@@ -1,4 +1,4 @@
PINPOINT_VERSION=2.5.1
PINPOINT_VERSION=2.5.3
SPRING_PROFILES=release
### Pinpoint-Batch

View File

@@ -1,6 +1,6 @@
FROM openjdk:11.0.16-jre-slim-buster
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.1}
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.3}
ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-batch-${PINPOINT_VERSION}.jar
RUN mkdir -p /pinpoint/config \

View File

@@ -3,6 +3,8 @@
This Docker image contains the Pinpoint Batch component of the Pinpoint application monitoring system.
## Supported Tags
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.2

View File

@@ -1,4 +1,4 @@
PINPOINT_VERSION=2.5.1
PINPOINT_VERSION=2.5.3
SPRING_PROFILES=release
### Pinpoint-Collector

View File

@@ -1,6 +1,6 @@
FROM openjdk:11.0.16-jre-slim-buster
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.1}
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.3}
ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-boot-${PINPOINT_VERSION}.jar
RUN mkdir -p /pinpoint/config \

View File

@@ -1,6 +1,6 @@
FROM openjdk:11.0.16-jre-slim-buster
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.0}
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.3}
#ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-starter-boot-${PINPOINT_VERSION}.jar
ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-starter-boot-${PINPOINT_VERSION}.jar

View File

@@ -4,7 +4,12 @@
This Docker image contains the Pinpoint Collector component of the Pinpoint application monitoring system.
## Supported Tags
- 2.5.3-metric
- 2.5.3
- 2.5.2
- 2.5.2-metric
- 2.5.1
- 2.5.1-metric
- 2.5.0
- 2.4.2
- 2.4.1

View File

@@ -1,4 +1,4 @@
PINPOINT_VERSION=2.5.1
PINPOINT_VERSION=2.5.3
### Pinpoint-flink

View File

@@ -1,5 +1,5 @@
FROM flink:1.14-java11
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.1}
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.3}
ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-flink-job-${PINPOINT_VERSION}.jar
RUN apt-get update \

View File

@@ -4,6 +4,8 @@
This Docker image contains the Pinpoint Flink component of the Pinpoint application monitoring system.
## Supported Tags
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.2

View File

@@ -1,5 +1,5 @@
PINPOINT_VERSION=2.5.1
PINPOINT_VERSION=2.5.3
HBASE_VERSION=1.2.6
### Pinpoint-Hbase
PINPOINT_HBASE_NAME=pinpoint-hbase

View File

@@ -1,11 +1,11 @@
FROM openjdk:8u342-slim
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.1}
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.3}
ARG HBASE_VERSION=${HBASE_VERSION:-1.2.6}
ENV HBASE_REPOSITORY=http://apache.mirrors.pair.com/hbase
ENV HBASE_SUB_REPOSITORY=http://archive.apache.org/dist/hbase
ENV HBASE_VERSION=1.2.6
ENV BASE_DIR=/opt/hbase
ENV HBASE_HOME=${BASE_DIR}/hbase-${HBASE_VERSION}

View File

@@ -4,6 +4,8 @@
This Docker image contains the Pinpoint Hbase component of the Pinpoint application monitoring system.
## Supported Tags
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.2

View File

@@ -1,4 +1,4 @@
PINPOINT_VERSION=2.5.1
PINPOINT_VERSION=2.5.3
### Pinpoint-mysql
MYSQL_ROOT_PASSWORD=root123

View File

@@ -1,6 +1,6 @@
FROM mysql:8.0
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.1}
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.3}
RUN curl -SL "https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v$PINPOINT_VERSION/web/src/main/resources/sql/CreateTableStatement-mysql.sql" -o /docker-entrypoint-initdb.d/CreateTableStatement-mysql.sql \
&& curl -SL "https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v$PINPOINT_VERSION/web/src/main/resources/sql/SpringBatchJobRepositorySchema-mysql.sql" -o /docker-entrypoint-initdb.d/SpringBatchJobRepositorySchema-mysql.sql \

View File

@@ -4,6 +4,8 @@
This Docker image contains the Pinpoint Mysql component of the Pinpoint application monitoring system.
## Supported Tags
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.2

View File

@@ -1,4 +1,4 @@
PINPOINT_VERSION=2.5.1
PINPOINT_VERSION=2.5.3
SPRING_PROFILES=release
### Pinpoint-Agent

View File

@@ -4,6 +4,8 @@
This Docker image contains the Pinpoint Quickstart sample to test Pinpoint application monitoring system.
## Supported Tags
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.2

View File

@@ -1,4 +1,4 @@
PINPOINT_VERSION=2.5.1
PINPOINT_VERSION=2.5.3
SPRING_PROFILES=release
### Pinpoint-Web

View File

@@ -1,6 +1,6 @@
FROM openjdk:11.0.16-jre-slim-buster
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.1}
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.3}
ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-web-boot-${PINPOINT_VERSION}.jar
RUN mkdir -p /pinpoint/config \

View File

@@ -1,6 +1,6 @@
FROM openjdk:11.0.16-jre-slim-buster
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.0}
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.3}
ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-web-starter-boot-${PINPOINT_VERSION}.jar
RUN mkdir -p /pinpoint/config \

View File

@@ -4,7 +4,12 @@
This Docker image contains the Pinpoint Web component of the Pinpoint application monitoring system.
## Supported Tags
- 2.5.3-metric
- 2.5.3
- 2.5.2
- 2.5.2-metric
- 2.5.1
- 2.5.1-metric
- 2.5.0
- 2.4.2
- 2.4.1