17 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
ga-ram
60da18daac Update docker-image.yml 2023-04-17 16:30:46 +09:00
ga-ram
a011824749 Update docker-image.yml 2023-04-17 16:28:34 +09:00
ga-ram
48493d1ae2 Update docker-image.yml 2023-04-17 16:25:26 +09:00
ga-ram
202be8b0aa Update docker-image.yml 2023-04-17 16:20:57 +09:00
ga-ram
58b503a6d5 Update workflows 2023-04-17 16:00:51 +09:00
ga-ram
47c422bb02 Update pinot table names 2023-04-17 14:38:17 +09:00
ga-ram
2b50157e4f Release 2.5.1 2023-04-14 19:01:53 +09:00
ga-ram
6f784d54e2 Remove workaround settings 2023-04-14 19:01:53 +09:00
won983212
8e5462cfb7 Fix web container port 2023-04-03 10:42:52 +09:00
35 changed files with 221 additions and 72 deletions

2
.env
View File

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

View File

@@ -6,6 +6,14 @@ on:
component: component:
required: true required: true
type: string type: string
dockerfile:
required: false
type: string
default: 'Dockerfile'
tag_postfix:
required: false
type: string
default: ''
secrets: secrets:
docker_username: docker_username:
required: true required: true
@@ -36,17 +44,22 @@ jobs:
- name: Extract metadata (tags, labels) for Docker - name: Extract metadata (tags, labels) for Docker
id: meta id: meta
uses: docker/metadata-action@v3 uses: docker/metadata-action@v4.3.0
with: with:
images: pinpointdocker/${{ inputs.component }} images: pinpointdocker/${{ inputs.component }}
flavor: |
latest=auto
prefix=
suffix=${{ inputs.tag_postfix }}
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: ./${{ inputs.component }} context: ./${{ inputs.component }}
file: ./${{ inputs.component }}/${{ inputs.dockerfile }}
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}${{ inputs.tag_postfix }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
- name: Update repo description - name: Update repo description

View File

@@ -23,6 +23,17 @@ jobs:
docker_token: ${{ secrets.DOCKER_TOKEN }} docker_token: ${{ secrets.DOCKER_TOKEN }}
docker_password: ${{ secrets.DOCKER_PASSWORD }} docker_password: ${{ secrets.DOCKER_PASSWORD }}
collector-metric:
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
with:
component: pinpoint-collector
dockerfile: Dockerfile-metric
tag_postfix: -metric
secrets:
docker_username: ${{ secrets.DOCKER_USERNAME }}
docker_token: ${{ secrets.DOCKER_TOKEN }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}
flink: flink:
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
with: with:
@@ -67,6 +78,17 @@ jobs:
docker_username: ${{ secrets.DOCKER_USERNAME }} docker_username: ${{ secrets.DOCKER_USERNAME }}
docker_token: ${{ secrets.DOCKER_TOKEN }} docker_token: ${{ secrets.DOCKER_TOKEN }}
docker_password: ${{ secrets.DOCKER_PASSWORD }} docker_password: ${{ secrets.DOCKER_PASSWORD }}
web-metric:
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
with:
component: pinpoint-web
dockerfile: Dockerfile-metric
tag_postfix: -metric
secrets:
docker_username: ${{ secrets.DOCKER_USERNAME }}
docker_token: ${{ secrets.DOCKER_TOKEN }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}
batch: batch:
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master

View File

@@ -12,6 +12,12 @@ 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. It supports and helps you understand your application in a glance and allow you to build world-class, high-quality software.
## Supported Tags ## 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.5.0
- 2.4.2 - 2.4.2
- 2.4.1 - 2.4.1
@@ -55,33 +61,50 @@ git clone https://github.com/pinpoint-apm/pinpoint-docker.git
cd pinpoint-docker cd pinpoint-docker
docker-compose pull && docker-compose up -d 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 git clone https://github.com/pinpoint-apm/pinpoint-docker.git
cd pinpoint-docker cd pinpoint-docker
git checkout {tag} 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. Below are the list of images provided by this project:
- Pinpoint-Web Server - [Pinpoint-Web Server](https://hub.docker.com/r/pinpointdocker/pinpoint-web)
- Pinpoint-Collector - [Pinpoint-Collector](https://hub.docker.com/repository/docker/pinpointdocker/pinpoint-collector/)
- Pinpoint-Agent - [Pinpoint-Agent](https://hub.docker.com/r/pinpointdocker/pinpoint-agent)
- Pinpoint-Flink(to support certain feature) - [Pinpoint-Flink](https://hub.docker.com/r/pinpointdocker/pinpoint-flink)
- Pinpoint-Zookeeper - [Pinpoint-Hbase](https://hub.docker.com/r/pinpointdocker/pinpoint-hbase)
- Pinpoint-Hbase - [Pinpoint-QuickStart](https://hub.docker.com/r/pinpointdocker/pinpoint-quickstart): a sample application, v1.8.1+
- Pinpoint-QuickStart(a sample application, 1.8.1+) - [Pinpoint-Mysql](https://hub.docker.com/r/pinpointdocker/pinpoint-mysql)
- Pinpoint-Mysql(to support certain feature) - [Pinpoint-Batch](https://hub.docker.com/r/pinpointdocker/pinpoint-batch): v2.4.0+
- Pinpoint-Batch
This may take several minutes to download all necessary images.
You can replace `QuickStart` application part with your application to start monitoring. 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 [`Testing QuickStart application`](#testing-quickstart-application) for a quick demo of pinpoint
- check [`Monitoring YOUR Application`](#monitoring-your-application) part for further details - 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+) ### 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. 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 - ZOOKEEPER_HOST=pinot-zoo
networks: networks:
- pinpoint - pinpoint
volumes:
- pinot-kafka-volume:/var/lib/kafka/data
pinpoint-kafka-init: pinpoint-kafka-init:
image: ubuntu/kafka:3.1-22.04_beta image: ubuntu/kafka:3.1-22.04_beta
@@ -117,7 +119,7 @@ services:
- pinpoint - pinpoint
pinot-controller: pinot-controller:
image: apachepinot/pinot:latest-arm64 image: apachepinot/pinot:latest
restart: unless-stopped restart: unless-stopped
command: StartController -zkAddress pinot-zoo command: StartController -zkAddress pinot-zoo
depends_on: depends_on:
@@ -128,9 +130,11 @@ services:
- "9000:9000" - "9000:9000"
networks: networks:
- pinpoint - pinpoint
volumes:
- pinot-controller-volume:/tmp/data/controller
pinot-broker-0: pinot-broker-0:
image: apachepinot/pinot:latest-arm64 image: apachepinot/pinot:latest
restart: unless-stopped restart: unless-stopped
command: StartBroker -zkAddress pinot-zoo command: StartBroker -zkAddress pinot-zoo
depends_on: depends_on:
@@ -141,7 +145,7 @@ services:
- pinpoint - pinpoint
pinot-server-0: pinot-server-0:
image: apachepinot/pinot:latest-arm64 image: apachepinot/pinot:latest
restart: unless-stopped restart: unless-stopped
command: StartServer -zkAddress pinot-zoo command: StartServer -zkAddress pinot-zoo
depends_on: depends_on:
@@ -150,32 +154,32 @@ services:
- "8098" - "8098"
networks: networks:
- pinpoint - pinpoint
volumes:
- pinot-server-volume:/tmp/data/server
pinot-init: pinot-init:
image: apachepinot/pinot:latest-arm64 image: apachepinot/pinot:latest
restart: "no" restart: "no"
entrypoint: > entrypoint: >
sh -c " sh -c "
curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-uriStat-table.json > uriStatTable.json && curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/uristat/uristat-common/src/main/pinot/pinot-uriStat-realtime-table.json > uriStatTable.json &&
curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-uriStat-schema.json > uriStatSchema.json && curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/uristat/uristat-common/src/main/pinot/pinot-uriStat-schema.json > uriStatSchema.json &&
curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-tag-table.json > tagTable.json && curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-tag-realtime-table.json > tagTable.json &&
curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-tag-schema.json > tagSchema.json && curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-tag-schema.json > tagSchema.json &&
curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-double-table.json > doubleTable.json && curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-double-realtime-table.json > doubleTable.json &&
curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-double-schema.json > doubleSchema.json && curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-double-schema.json > doubleSchema.json &&
curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-dataType-table.json > dataTypeTable.json && curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-dataType-realtime-table.json > dataTypeTable.json &&
curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/pinot/pinot-dataType-schema.json > dataTypeSchema.json && 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/localhost:19092/pinpoint-kafka:9092/g' uriStatTable.json tagTable.json doubleTable.json dataTypeTable.json &&
sed -i 's/uri-stat/url-stat/g' uriStatTable.json && sed -i 's/.*replicasPerPartition.*/ \"replicasPerPartition\": \"1\",/g' uriStatTable.json tagTable.json doubleTable.json dataTypeTable.json &&
sed -i '3,$$s/Double/DOUBLE/' doubleSchema.json &&
sleep 30 &&
/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 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 && /opt/pinot/bin/pinot-admin.sh AddTable -schemaFile tagSchema.json -realtimeTableConfigFile tagTable.json -controllerHost pinot-controller -controllerPort 9000 -exec &&
/opt/pinot/bin/pinot-admin.sh AddTable -schemaFile doubleSchema.json -realtimeTableConfigFile doubleTable.json -controllerHost pinot-controller -controllerPort 9000 -exec && /opt/pinot/bin/pinot-admin.sh AddTable -schemaFile doubleSchema.json -realtimeTableConfigFile doubleTable.json -controllerHost pinot-controller -controllerPort 9000 -exec &&
/opt/pinot/bin/pinot-admin.sh AddTable -schemaFile dataTypeSchema.json -realtimeTableConfigFile dataTypeTable.json -controllerHost pinot-controller -controllerPort 9000 -exec" /opt/pinot/bin/pinot-admin.sh AddTable -schemaFile dataTypeSchema.json -realtimeTableConfigFile dataTypeTable.json -controllerHost pinot-controller -controllerPort 9000 -exec"
depends_on: depends_on:
- pinot-server - pinot-server-0
- pinpoint-kafka-init - pinpoint-kafka-init
networks: networks:
- pinpoint - pinpoint
@@ -188,6 +192,9 @@ services:
- "2181" - "2181"
networks: networks:
- pinpoint - pinpoint
volumes:
- pinot-zoo-data:/data
- pinot-zoo-datalog:/datalog
telegraf: telegraf:
image: telegraf:1.25.0 image: telegraf:1.25.0
@@ -197,18 +204,13 @@ services:
- pinpoint-collector - pinpoint-collector
entrypoint: > entrypoint: >
sh -c " sh -c "
echo ' curl https://raw.githubusercontent.com/pinpoint-apm/pinpoint/v${PINPOINT_VERSION}/metric-module/metric/src/main/telegraf/pinpoint-telegraf.conf > telegraf.conf &&
[[inputs.cpu]]\ sed -i 's/127.0.0.1/pinpoint-collector/g' telegraf.conf &&
percpu = true\ telegraf -config telegraf.conf"
totalcpu = true\
collect_cpu_time = false\
report_active = false\
[[outputs.http]]\ volumes:
url = \"http://pinpoint-collector:15200/telegraf\"\ pinot-zoo-data:
data_format = \"json\"\ pinot-zoo-datalog:
[outputs.http.headers]\ pinot-server-volume:
hostGroupName = \"pinpoint-docker\"\ pinot-controller-volume:
Content-Type = \"application/json\"\' > telegraf.conf && pinot-kafka-volume:
cat telegraf.conf &&
telegraf -config telegraf.conf"

View File

@@ -48,6 +48,11 @@ services:
restart: always restart: always
depends_on: depends_on:
- zoo1 - zoo1
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-mysql: pinpoint-mysql:
build: build:
@@ -72,6 +77,11 @@ services:
- mysql_data:/var/lib/mysql - mysql_data:/var/lib/mysql
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-web: pinpoint-web:
build: build:
@@ -92,7 +102,7 @@ services:
- "9997" - "9997"
ports: ports:
- "9997:9997" - "9997:9997"
- "${WEB_SERVER_PORT:-8080}:${WEB_SERVER_PORT:-8080}" - "${WEB_SERVER_PORT:-8080}:8080"
environment: environment:
- WEB_SERVER_PORT=${WEB_SERVER_PORT} - WEB_SERVER_PORT=${WEB_SERVER_PORT}
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES} - SPRING_PROFILES_ACTIVE=${SPRING_PROFILES}
@@ -110,6 +120,11 @@ services:
- "pinpoint-mysql:pinpoint-mysql" - "pinpoint-mysql:pinpoint-mysql"
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-collector: pinpoint-collector:
build: build:
@@ -151,6 +166,11 @@ services:
- LOGGING_LEVEL_ROOT=${COLLECTOR_LOGGING_LEVEL_ROOT} - LOGGING_LEVEL_ROOT=${COLLECTOR_LOGGING_LEVEL_ROOT}
- FLINK_CLUSTER_ENABLE=${FLINK_CLUSTER_ENABLE} - FLINK_CLUSTER_ENABLE=${FLINK_CLUSTER_ENABLE}
- FLINK_CLUSTER_ZOOKEEPER_ADDRESS=${FLINK_CLUSTER_ZOOKEEPER_ADDRESS} - FLINK_CLUSTER_ZOOKEEPER_ADDRESS=${FLINK_CLUSTER_ZOOKEEPER_ADDRESS}
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-quickstart: pinpoint-quickstart:
build: build:
@@ -169,6 +189,11 @@ services:
- pinpoint - pinpoint
depends_on: depends_on:
- pinpoint-agent - pinpoint-agent
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-batch: pinpoint-batch:
build: build:
@@ -213,6 +238,11 @@ services:
- "pinpoint-mysql:pinpoint-mysql" - "pinpoint-mysql:pinpoint-mysql"
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-agent: pinpoint-agent:
build: build:
@@ -244,6 +274,11 @@ services:
- PROFILER_TRANSPORT_MODULE=${PROFILER_TRANSPORT_MODULE} - PROFILER_TRANSPORT_MODULE=${PROFILER_TRANSPORT_MODULE}
depends_on: depends_on:
- pinpoint-collector - pinpoint-collector
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
#zookeepers #zookeepers
zoo1: 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 ZOO_SERVERS: server.1=0.0.0.0:2888:3888 server.2=zoo2:2888:3888 server.3=zoo3:2888:3888
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
zoo2: zoo2:
image: zookeeper:3.4.13 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 ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=0.0.0.0:2888:3888 server.3=zoo3:2888:3888
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
zoo3: zoo3:
image: zookeeper:3.4.13 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 ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=zoo2:2888:3888 server.3=0.0.0.0:2888:3888
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
##flink ##flink
jobmanager: jobmanager:
@@ -316,6 +366,11 @@ services:
- pinpoint - pinpoint
depends_on: depends_on:
- zoo1 - zoo1
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
taskmanager: taskmanager:
build: build:
@@ -344,6 +399,11 @@ services:
- JOB_MANAGER_RPC_ADDRESS=jobmanager - JOB_MANAGER_RPC_ADDRESS=jobmanager
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
volumes: volumes:
data-volume: data-volume:

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
FROM alpine:3.7 FROM alpine:3.7
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-agent-${PINPOINT_VERSION}.tar.gz 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/ COPY /build/scripts/configure-agent.sh /usr/local/bin/

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
FROM openjdk:11.0.16-jre-slim-buster 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-boot-${PINPOINT_VERSION}.jar 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 \ RUN mkdir -p /pinpoint/config \

View File

@@ -1,8 +1,8 @@
FROM openjdk:11.0.16-jre-slim-buster 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
ARG INSTALL_URL=https://github.com/ga-ram/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-starter-boot-2.5.0.jar ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-starter-boot-${PINPOINT_VERSION}.jar
RUN mkdir -p /pinpoint/config \ RUN mkdir -p /pinpoint/config \
&& mkdir -p /pinpoint/scripts && mkdir -p /pinpoint/scripts

View File

@@ -4,6 +4,12 @@
This Docker image contains the Pinpoint Collector component of the Pinpoint application monitoring system. This Docker image contains the Pinpoint Collector component of the Pinpoint application monitoring system.
## Supported Tags ## 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.5.0
- 2.4.2 - 2.4.2
- 2.4.1 - 2.4.1

View File

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

View File

@@ -1,5 +1,5 @@
FROM flink:1.14-java11 FROM flink:1.14-java11
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-flink-job-${PINPOINT_VERSION}.jar ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-flink-job-${PINPOINT_VERSION}.jar
RUN apt-get update \ RUN apt-get update \

View File

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

View File

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

View File

@@ -1,11 +1,11 @@
FROM openjdk:8u342-slim FROM openjdk:8u342-slim
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.0} 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_REPOSITORY=http://apache.mirrors.pair.com/hbase
ENV HBASE_SUB_REPOSITORY=http://archive.apache.org/dist/hbase ENV HBASE_SUB_REPOSITORY=http://archive.apache.org/dist/hbase
ENV HBASE_VERSION=1.2.6
ENV BASE_DIR=/opt/hbase ENV BASE_DIR=/opt/hbase
ENV HBASE_HOME=${BASE_DIR}/hbase-${HBASE_VERSION} ENV HBASE_HOME=${BASE_DIR}/hbase-${HBASE_VERSION}

View File

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

View File

@@ -3,8 +3,8 @@
if echo -e "exists 'HostApplicationMap_Ver2'" | ${HBASE_HOME}/bin/hbase shell 2>&1 | grep -q "does exist" 2>/dev/null if echo -e "exists 'HostApplicationMap_Ver2'" | ${HBASE_HOME}/bin/hbase shell 2>&1 | grep -q "does exist" 2>/dev/null
then then
echo "Tables already exist" echo "Tables already exist"
sleep 15 #sleep 15
${HBASE_HOME}/bin/hbase shell ${BASE_DIR}/hbase-update-ttl.hbase #${HBASE_HOME}/bin/hbase shell ${BASE_DIR}/hbase-update-ttl.hbase
else else
sleep 15 sleep 15
echo "create tables" echo "create tables"

View File

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

View File

@@ -1,6 +1,6 @@
FROM mysql:8.0 FROM mysql:8.0
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.5.0} 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 \ 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 \ && 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,9 @@
This Docker image contains the Pinpoint Mysql component of the Pinpoint application monitoring system. This Docker image contains the Pinpoint Mysql component of the Pinpoint application monitoring system.
## Supported Tags ## Supported Tags
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0 - 2.5.0
- 2.4.2 - 2.4.2
- 2.4.1 - 2.4.1

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
FROM openjdk:11.0.16-jre-slim-buster 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-boot-${PINPOINT_VERSION}.jar 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 \ RUN mkdir -p /pinpoint/config \

View File

@@ -1,8 +1,7 @@
FROM openjdk:11.0.16-jre-slim-buster 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 ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-web-starter-boot-${PINPOINT_VERSION}.jar
ARG INSTALL_URL=https://github.com/ga-ram/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-web-starter-boot-2.5.0.jar
RUN mkdir -p /pinpoint/config \ RUN mkdir -p /pinpoint/config \
&& mkdir -p /pinpoint/scripts && mkdir -p /pinpoint/scripts

View File

@@ -4,6 +4,12 @@
This Docker image contains the Pinpoint Web component of the Pinpoint application monitoring system. This Docker image contains the Pinpoint Web component of the Pinpoint application monitoring system.
## Supported Tags ## 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.5.0
- 2.4.2 - 2.4.2
- 2.4.1 - 2.4.1

View File

@@ -17,7 +17,7 @@ services:
- "9997" - "9997"
ports: ports:
- "9997:9997" - "9997:9997"
- "${WEB_SERVER_PORT:-8080}:${WEB_SERVER_PORT:-8080}" - "${WEB_SERVER_PORT:-8080}:8080"
environment: environment:
- WEB_SERVER_PORT=${WEB_SERVER_PORT} - WEB_SERVER_PORT=${WEB_SERVER_PORT}
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES} - SPRING_PROFILES_ACTIVE=${SPRING_PROFILES}