Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
94379d4afb | ||
|
|
61065c6812 | ||
|
|
d40dd89496 | ||
|
|
7e10083877 |
44
.env
44
.env
@@ -1,12 +1,31 @@
|
|||||||
PINPOINT_VERSION=2.4.1
|
PINPOINT_VERSION=2.4.2
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
|
|
||||||
|
# Used to make collector ip fixed for external microservices which uses pinpoint agent with collector ip.
|
||||||
|
PINPOINT_NETWORK_SUBNET=172.24.0.0/28
|
||||||
|
COLLECTOR_FIXED_IP=172.24.0.11
|
||||||
|
|
||||||
#zookeeper information required
|
#zookeeper information required
|
||||||
PINPOINT_ZOOKEEPER_ADDRESS=zoo1
|
PINPOINT_ZOOKEEPER_ADDRESS=zoo1
|
||||||
|
|
||||||
### Pinpoint-Hbase
|
### Pinpoint-Hbase
|
||||||
|
|
||||||
PINPOINT_HBASE_NAME=pinpoint-hbase
|
PINPOINT_HBASE_NAME=pinpoint-hbase
|
||||||
#config for hbase in external docker
|
AGENTINFO_TTL=31536000
|
||||||
|
AGENTSTATV2_TTL=5184000
|
||||||
|
APPSTATAGGRE_TTL=5184000
|
||||||
|
APPINDEX_TTL=31536000
|
||||||
|
AGENTLIFECYCLE_TTL=5184000
|
||||||
|
AGENTEVENT_TTL=5184000
|
||||||
|
STRINGMETADATA_TTL=15552000
|
||||||
|
APIMETADATA_TTL=31536000
|
||||||
|
SQLMETADATA_TTL=15552000
|
||||||
|
TRACEV2_TTL=5184000
|
||||||
|
APPTRACEINDEX_TTL=5184000
|
||||||
|
APPMAPSTATCALLERV2_TTL=5184000
|
||||||
|
APPMAPSTATCALLEV2_TTL=5184000
|
||||||
|
APPMAPSTATSELFV2_TTL=5184000
|
||||||
|
HOSTAPPMAPV2_TTL=5184000
|
||||||
|
|
||||||
### Pinpoint-mysql
|
### Pinpoint-mysql
|
||||||
MYSQL_ROOT_PASSWORD=root123
|
MYSQL_ROOT_PASSWORD=root123
|
||||||
@@ -29,11 +48,6 @@ ADMIN_PASSWORD=admin
|
|||||||
#analytics
|
#analytics
|
||||||
CONFIG_SENDUSAGE=true
|
CONFIG_SENDUSAGE=true
|
||||||
|
|
||||||
#flink server information required if used
|
|
||||||
BATCH_ENABLE=false
|
|
||||||
BATCH_SERVER_IP=127.0.0.1
|
|
||||||
BATCH_FLINK_SERVER=pinpoint-flink-jobmanager
|
|
||||||
|
|
||||||
CONFIG_SHOW_APPLICATIONSTAT=true
|
CONFIG_SHOW_APPLICATIONSTAT=true
|
||||||
|
|
||||||
#mysql information required if used
|
#mysql information required if used
|
||||||
@@ -42,20 +56,6 @@ JDBC_URL=jdbc:mysql://pinpoint-mysql:3306/pinpoint?characterEncoding=UTF-8
|
|||||||
JDBC_USERNAME=admin
|
JDBC_USERNAME=admin
|
||||||
JDBC_PASSWORD=admin
|
JDBC_PASSWORD=admin
|
||||||
|
|
||||||
#mail server information required if used
|
|
||||||
ALARM_MAIL_SERVER_URL=smtp.gmail.com
|
|
||||||
ALARM_MAIL_SERVER_PORT=587
|
|
||||||
ALARM_MAIL_SERVER_USERNAME=username
|
|
||||||
ALARM_MAIL_SERVER_PASSWORD=password
|
|
||||||
ALARM_MAIL_SENDER_ADDRESS=pinpoint_operator@pinpoint.com
|
|
||||||
ALARM_MAIL_TRANSPORT_PROTOCOL=smtp
|
|
||||||
ALARM_MAIL_SMTP_PORT=25
|
|
||||||
ALARM_MAIL_SMTP_AUTH=false
|
|
||||||
ALARM_MAIL_SMTP_STARTTLS_ENABLE=false
|
|
||||||
ALARM_MAIL_SMTP_STARTTLS_REQUIRED=false
|
|
||||||
ALARM_MAIL_DEBUG=false
|
|
||||||
|
|
||||||
|
|
||||||
### Pinpoint-Collector
|
### Pinpoint-Collector
|
||||||
|
|
||||||
PINPOINT_COLLECTOR_NAME=pinpoint-collector
|
PINPOINT_COLLECTOR_NAME=pinpoint-collector
|
||||||
@@ -93,8 +93,6 @@ ADMIN_PASSWORD=admin
|
|||||||
CONFIG_SENDUSAGE=true
|
CONFIG_SENDUSAGE=true
|
||||||
|
|
||||||
#flink server information required if used
|
#flink server information required if used
|
||||||
BATCH_ENABLE=false
|
|
||||||
BATCH_SERVER_IP=127.0.0.1
|
|
||||||
BATCH_FLINK_SERVER=pinpoint-flink-jobmanager
|
BATCH_FLINK_SERVER=pinpoint-flink-jobmanager
|
||||||
|
|
||||||
CONFIG_SHOW_APPLICATIONSTAT=true
|
CONFIG_SHOW_APPLICATIONSTAT=true
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ 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.4.2
|
||||||
- 2.4.1
|
- 2.4.1
|
||||||
- 2.4.0
|
- 2.4.0
|
||||||
- 2.3.3
|
- 2.3.3
|
||||||
@@ -74,6 +74,7 @@ This will install and run all services required to run all features in Pinpoint
|
|||||||
- Pinpoint-Hbase
|
- Pinpoint-Hbase
|
||||||
- Pinpoint-QuickStart(a sample application, 1.8.1+)
|
- Pinpoint-QuickStart(a sample application, 1.8.1+)
|
||||||
- Pinpoint-Mysql(to support certain feature)
|
- Pinpoint-Mysql(to support certain feature)
|
||||||
|
- Pinpoint-Batch
|
||||||
This may take several minutes to download all necessary images.
|
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.
|
||||||
|
|||||||
@@ -12,9 +12,24 @@ services:
|
|||||||
image: "pinpointdocker/pinpoint-hbase:${PINPOINT_VERSION}"
|
image: "pinpointdocker/pinpoint-hbase:${PINPOINT_VERSION}"
|
||||||
networks:
|
networks:
|
||||||
- pinpoint
|
- pinpoint
|
||||||
|
environment:
|
||||||
|
- AGENTINFO_TTL=${AGENTINFO_TTL}
|
||||||
|
- AGENTSTATV2_TTL=${AGENTSTATV2_TTL}
|
||||||
|
- APPSTATAGGRE_TTL=${APPSTATAGGRE_TTL}
|
||||||
|
- APPINDEX_TTL=${APPINDEX_TTL}
|
||||||
|
- AGENTLIFECYCLE_TTL=${AGENTLIFECYCLE_TTL}
|
||||||
|
- AGENTEVENT_TTL=${AGENTEVENT_TTL}
|
||||||
|
- STRINGMETADATA_TTL=${STRINGMETADATA_TTL}
|
||||||
|
- APIMETADATA_TTL=${APIMETADATA_TTL}
|
||||||
|
- SQLMETADATA_TTL=${SQLMETADATA_TTL}
|
||||||
|
- TRACEV2_TTL=${TRACEV2_TTL}
|
||||||
|
- APPTRACEINDEX_TTL=${APPTRACEINDEX_TTL}
|
||||||
|
- APPMAPSTATCALLERV2_TTL=${APPMAPSTATCALLERV2_TTL}
|
||||||
|
- APPMAPSTATCALLEV2_TTL=${APPMAPSTATCALLEV2_TTL}
|
||||||
|
- APPMAPSTATSELFV2_TTL=${APPMAPSTATSELFV2_TTL}
|
||||||
|
- HOSTAPPMAPV2_TTL=${HOSTAPPMAPV2_TTL}
|
||||||
volumes:
|
volumes:
|
||||||
- /home/pinpoint/hbase
|
- hbase_data:/home/pinpoint/hbase
|
||||||
- /home/pinpoint/zookeeper
|
- /home/pinpoint/zookeeper
|
||||||
expose:
|
expose:
|
||||||
# HBase Master API port
|
# HBase Master API port
|
||||||
@@ -87,24 +102,10 @@ services:
|
|||||||
- CONFIG_SENDUSAGE=${CONFIG_SENDUSAGE}
|
- CONFIG_SENDUSAGE=${CONFIG_SENDUSAGE}
|
||||||
- LOGGING_LEVEL_ROOT=${WEB_LOGGING_LEVEL_ROOT}
|
- LOGGING_LEVEL_ROOT=${WEB_LOGGING_LEVEL_ROOT}
|
||||||
- CONFIG_SHOW_APPLICATIONSTAT=${CONFIG_SHOW_APPLICATIONSTAT}
|
- CONFIG_SHOW_APPLICATIONSTAT=${CONFIG_SHOW_APPLICATIONSTAT}
|
||||||
- BATCH_ENABLE=${BATCH_ENABLE}
|
|
||||||
- BATCH_SERVER_IP=${BATCH_SERVER_IP}
|
|
||||||
- BATCH_FLINK_SERVER=${BATCH_FLINK_SERVER}
|
|
||||||
- JDBC_DRIVERCLASSNAME=${JDBC_DRIVERCLASSNAME}
|
- JDBC_DRIVERCLASSNAME=${JDBC_DRIVERCLASSNAME}
|
||||||
- JDBC_URL=${JDBC_URL}
|
- JDBC_URL=${JDBC_URL}
|
||||||
- JDBC_USERNAME=${JDBC_USERNAME}
|
- JDBC_USERNAME=${JDBC_USERNAME}
|
||||||
- JDBC_PASSWORD=${JDBC_PASSWORD}
|
- JDBC_PASSWORD=${JDBC_PASSWORD}
|
||||||
- ALARM_MAIL_SERVER_URL=${ALARM_MAIL_SERVER_URL}
|
|
||||||
- ALARM_MAIL_SERVER_PORT=${ALARM_MAIL_SERVER_PORT}
|
|
||||||
- ALARM_MAIL_SERVER_USERNAME=${ALARM_MAIL_SERVER_USERNAME}
|
|
||||||
- ALARM_MAIL_SERVER_PASSWORD=${ALARM_MAIL_SERVER_PASSWORD}
|
|
||||||
- ALARM_MAIL_SENDER_ADDRESS=${ALARM_MAIL_SENDER_ADDRESS}
|
|
||||||
- ALARM_MAIL_TRANSPORT_PROTOCOL=${ALARM_MAIL_TRANSPORT_PROTOCOL}
|
|
||||||
- ALARM_MAIL_SMTP_PORT=${ALARM_MAIL_SMTP_PORT}
|
|
||||||
- ALARM_MAIL_SMTP_AUTH=${ALARM_MAIL_SMTP_AUTH}
|
|
||||||
- ALARM_MAIL_SMTP_STARTTLS_ENABLE=${ALARM_MAIL_SMTP_STARTTLS_ENABLE}
|
|
||||||
- ALARM_MAIL_SMTP_STARTTLS_REQUIRED=${ALARM_MAIL_SMTP_STARTTLS_REQUIRED}
|
|
||||||
- ALARM_MAIL_DEBUG=${ALARM_MAIL_DEBUG}
|
|
||||||
links:
|
links:
|
||||||
- "pinpoint-mysql:pinpoint-mysql"
|
- "pinpoint-mysql:pinpoint-mysql"
|
||||||
networks:
|
networks:
|
||||||
@@ -140,9 +141,9 @@ services:
|
|||||||
- "${COLLECTOR_RECEIVER_SPAN_UDP_PORT:-9996}:9996/tcp"
|
- "${COLLECTOR_RECEIVER_SPAN_UDP_PORT:-9996}:9996/tcp"
|
||||||
- "${COLLECTOR_RECEIVER_STAT_UDP_PORT:-9995}:9995/udp"
|
- "${COLLECTOR_RECEIVER_STAT_UDP_PORT:-9995}:9995/udp"
|
||||||
- "${COLLECTOR_RECEIVER_SPAN_UDP_PORT:-9996}:9996/udp"
|
- "${COLLECTOR_RECEIVER_SPAN_UDP_PORT:-9996}:9996/udp"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- pinpoint
|
pinpoint:
|
||||||
|
ipv4_address: ${COLLECTOR_FIXED_IP}
|
||||||
environment:
|
environment:
|
||||||
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES}
|
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES}
|
||||||
- PINPOINT_ZOOKEEPER_ADDRESS=${PINPOINT_ZOOKEEPER_ADDRESS}
|
- PINPOINT_ZOOKEEPER_ADDRESS=${PINPOINT_ZOOKEEPER_ADDRESS}
|
||||||
@@ -192,8 +193,6 @@ services:
|
|||||||
- CONFIG_SENDUSAGE=${CONFIG_SENDUSAGE}
|
- CONFIG_SENDUSAGE=${CONFIG_SENDUSAGE}
|
||||||
- LOGGING_LEVEL_ROOT=${BATCH_LOGGING_LEVEL_ROOT}
|
- LOGGING_LEVEL_ROOT=${BATCH_LOGGING_LEVEL_ROOT}
|
||||||
- CONFIG_SHOW_APPLICATIONSTAT=${CONFIG_SHOW_APPLICATIONSTAT}
|
- CONFIG_SHOW_APPLICATIONSTAT=${CONFIG_SHOW_APPLICATIONSTAT}
|
||||||
- BATCH_ENABLE=${BATCH_ENABLE}
|
|
||||||
- BATCH_SERVER_IP=${BATCH_SERVER_IP}
|
|
||||||
- BATCH_FLINK_SERVER=${BATCH_FLINK_SERVER}
|
- BATCH_FLINK_SERVER=${BATCH_FLINK_SERVER}
|
||||||
- JDBC_DRIVERCLASSNAME=${JDBC_DRIVERCLASSNAME}
|
- JDBC_DRIVERCLASSNAME=${JDBC_DRIVERCLASSNAME}
|
||||||
- JDBC_URL=${JDBC_URL}
|
- JDBC_URL=${JDBC_URL}
|
||||||
@@ -351,7 +350,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
data-volume:
|
data-volume:
|
||||||
mysql_data:
|
mysql_data:
|
||||||
|
hbase_data:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
pinpoint:
|
pinpoint:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
ipam:
|
||||||
|
config:
|
||||||
|
- subnet: ${PINPOINT_NETWORK_SUBNET}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
### Pinpoint with Java
|
### Pinpoint with Java
|
||||||
PINPOINT_VERSION=2.4.1
|
PINPOINT_VERSION=2.4.2
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
AGENT_ID=java-app-in-docker
|
AGENT_ID=java-app-in-docker
|
||||||
APP_NAME=JavaAttachExample
|
APP_NAME=JavaAttachExample
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
### Pinpoint with Tomcat
|
### Pinpoint with Tomcat
|
||||||
PINPOINT_VERSION=2.4.1
|
PINPOINT_VERSION=2.4.2
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
APP_PORT=8085
|
APP_PORT=8085
|
||||||
AGENT_ID=app-in-docker
|
AGENT_ID=app-in-docker
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.4.1
|
PINPOINT_VERSION=2.4.2
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
|
|
||||||
### Pinpoint-Agent
|
### Pinpoint-Agent
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
FROM alpine:3.7
|
FROM alpine:3.7
|
||||||
|
|
||||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.1}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.2}
|
||||||
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/
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
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.4.2
|
||||||
- 2.4.1
|
- 2.4.1
|
||||||
- 2.4.0
|
- 2.4.0
|
||||||
- 2.3.3
|
- 2.3.3
|
||||||
@@ -33,7 +33,7 @@ Please see [Pinpoint-Docker GitHub repository](https://github.com/pinpoint-apm/p
|
|||||||
|
|
||||||
## Any Issues or Suggestions?
|
## Any Issues or Suggestions?
|
||||||
|
|
||||||
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint/issues).
|
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint-docker/issues).
|
||||||
Contributions on the pinpoint-docker image is also always welcome.
|
Contributions on the pinpoint-docker image is also always welcome.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.4.1
|
PINPOINT_VERSION=2.4.2
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
|
|
||||||
### Pinpoint-Batch
|
### Pinpoint-Batch
|
||||||
@@ -19,8 +19,6 @@ ADMIN_PASSWORD=admin
|
|||||||
CONFIG_SENDUSAGE=true
|
CONFIG_SENDUSAGE=true
|
||||||
|
|
||||||
#flink server information required if used
|
#flink server information required if used
|
||||||
BATCH_ENABLE=false
|
|
||||||
BATCH_SERVER_IP=127.0.0.1
|
|
||||||
BATCH_FLINK_SERVER=pinpoint-flink-jobmanager
|
BATCH_FLINK_SERVER=pinpoint-flink-jobmanager
|
||||||
|
|
||||||
CONFIG_SHOW_APPLICATIONSTAT=true
|
CONFIG_SHOW_APPLICATIONSTAT=true
|
||||||
|
|||||||
@@ -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.4.1}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.2}
|
||||||
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 \
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
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.4.2
|
||||||
- 2.4.1
|
- 2.4.1
|
||||||
- 2.4.0
|
- 2.4.0
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ Please see the [Pinpoint-Docker GitHub repository](https://github.com/pinpoint-a
|
|||||||
|
|
||||||
## Any Issues or Suggestions?
|
## Any Issues or Suggestions?
|
||||||
|
|
||||||
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint/issues).
|
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint-docker/issues).
|
||||||
Contributions on the pinpoint-docker image is also always welcome.
|
Contributions on the pinpoint-docker image is also always welcome.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@@ -18,15 +18,13 @@ services:
|
|||||||
- "${BATCH_SERVER_PORT:-8079}:${BATCH_SERVER_PORT:-8079}"
|
- "${BATCH_SERVER_PORT:-8079}:${BATCH_SERVER_PORT:-8079}"
|
||||||
environment:
|
environment:
|
||||||
- BATCH_SERVER_PORT=${BATCH_SERVER_PORT}
|
- BATCH_SERVER_PORT=${BATCH_SERVER_PORT}
|
||||||
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES},batch
|
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES}
|
||||||
- PINPOINT_ZOOKEEPER_ADDRESS=${PINPOINT_ZOOKEEPER_ADDRESS}
|
- PINPOINT_ZOOKEEPER_ADDRESS=${PINPOINT_ZOOKEEPER_ADDRESS}
|
||||||
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
||||||
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
||||||
- CONFIG_SENDUSAGE=${CONFIG_SENDUSAGE}
|
- CONFIG_SENDUSAGE=${CONFIG_SENDUSAGE}
|
||||||
- LOGGING_LEVEL_ROOT=${BATCH_LOGGING_LEVEL_ROOT}
|
- LOGGING_LEVEL_ROOT=${BATCH_LOGGING_LEVEL_ROOT}
|
||||||
- CONFIG_SHOW_APPLICATIONSTAT=${CONFIG_SHOW_APPLICATIONSTAT}
|
- CONFIG_SHOW_APPLICATIONSTAT=${CONFIG_SHOW_APPLICATIONSTAT}
|
||||||
- BATCH_ENABLE=${BATCH_ENABLE}
|
|
||||||
- BATCH_SERVER_IP=${BATCH_SERVER_IP}
|
|
||||||
- BATCH_FLINK_SERVER=${BATCH_FLINK_SERVER}
|
- BATCH_FLINK_SERVER=${BATCH_FLINK_SERVER}
|
||||||
- JDBC_DRIVERCLASSNAME=${JDBC_DRIVERCLASSNAME}
|
- JDBC_DRIVERCLASSNAME=${JDBC_DRIVERCLASSNAME}
|
||||||
- JDBC_URL=${JDBC_URL}
|
- JDBC_URL=${JDBC_URL}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.4.1
|
PINPOINT_VERSION=2.4.2
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
|
|
||||||
### Pinpoint-Collector
|
### Pinpoint-Collector
|
||||||
|
|||||||
@@ -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.4.1}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.2}
|
||||||
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 \
|
||||||
@@ -9,7 +9,7 @@ RUN mkdir -p /pinpoint/config \
|
|||||||
COPY /build/config/pinpoint-collector.properties /pinpoint/config/
|
COPY /build/config/pinpoint-collector.properties /pinpoint/config/
|
||||||
COPY /build/scripts/start-collector.sh /pinpoint/scripts/
|
COPY /build/scripts/start-collector.sh /pinpoint/scripts/
|
||||||
#temporary line for local test
|
#temporary line for local test
|
||||||
#COPY /pinpoint-collector-boot-2.4.1-SNAPSHOT.jar /pinpoint/pinpoint-collector-boot.jar
|
#COPY /pinpoint-collector-boot-2.4.2-SNAPSHOT.jar /pinpoint/pinpoint-collector-boot.jar
|
||||||
|
|
||||||
RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean \
|
RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean \
|
||||||
&& chmod a+x /pinpoint/scripts/start-collector.sh \
|
&& chmod a+x /pinpoint/scripts/start-collector.sh \
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
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.4.2
|
||||||
- 2.4.1
|
- 2.4.1
|
||||||
- 2.4.0
|
- 2.4.0
|
||||||
- 2.3.3
|
- 2.3.3
|
||||||
@@ -33,7 +33,7 @@ Please see [Pinpoint-Docker GitHub repository](https://github.com/pinpoint-apm/p
|
|||||||
|
|
||||||
## Any Issues or Suggestions?
|
## Any Issues or Suggestions?
|
||||||
|
|
||||||
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint/issues).
|
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint-docker/issues).
|
||||||
Contributions on the pinpoint-docker image is also always welcome.
|
Contributions on the pinpoint-docker image is also always welcome.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.4.1
|
PINPOINT_VERSION=2.4.2
|
||||||
|
|
||||||
### Pinpoint-flink
|
### Pinpoint-flink
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
FROM flink:1.14-java11
|
FROM flink:1.14-java11
|
||||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.1}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.2}
|
||||||
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 \
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
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.4.2
|
||||||
- 2.4.1
|
- 2.4.1
|
||||||
- 2.4.0
|
- 2.4.0
|
||||||
- 2.3.3
|
- 2.3.3
|
||||||
@@ -16,7 +16,7 @@ Please see the [Pinpoint-Docker GitHub repository](https://github.com/pinpoint-a
|
|||||||
|
|
||||||
## Any Issues or Suggestions?
|
## Any Issues or Suggestions?
|
||||||
|
|
||||||
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint/issues).
|
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint-docker/issues).
|
||||||
Contributions on the pinpoint-docker image is also always welcome.
|
Contributions on the pinpoint-docker image is also always welcome.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.4.1
|
PINPOINT_VERSION=2.4.2
|
||||||
|
|
||||||
### Pinpoint-Hbase
|
### Pinpoint-Hbase
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
FROM openjdk:8u342-slim
|
FROM openjdk:8u342-slim
|
||||||
|
|
||||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.1}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.2}
|
||||||
|
|
||||||
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
|
||||||
@@ -13,10 +13,12 @@ COPY hbase-site.xml hbase-site.xml
|
|||||||
COPY hbase-env.sh hbase-env.sh
|
COPY hbase-env.sh hbase-env.sh
|
||||||
COPY /build/scripts/initialize-hbase.sh /usr/local/bin/
|
COPY /build/scripts/initialize-hbase.sh /usr/local/bin/
|
||||||
COPY /build/scripts/check-table.sh /usr/local/bin/
|
COPY /build/scripts/check-table.sh /usr/local/bin/
|
||||||
|
COPY /build/scripts/configure-hbase.sh /usr/local/bin
|
||||||
|
|
||||||
RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean \
|
RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean \
|
||||||
&& chmod a+x /usr/local/bin/initialize-hbase.sh \
|
&& chmod a+x /usr/local/bin/initialize-hbase.sh \
|
||||||
&& chmod a+x /usr/local/bin/check-table.sh \
|
&& chmod a+x /usr/local/bin/check-table.sh \
|
||||||
|
&& chmod a+x /usr/local/bin/configure-hbase.sh \
|
||||||
&& mkdir -p ${BASE_DIR} \
|
&& mkdir -p ${BASE_DIR} \
|
||||||
&& cd ${BASE_DIR} \
|
&& cd ${BASE_DIR} \
|
||||||
&& curl -fSL "${HBASE_REPOSITORY}/${HBASE_VERSION}/hbase-${HBASE_VERSION}-bin.tar.gz" -o hbase.tar.gz || curl -fSL "${HBASE_SUB_REPOSITORY}/${HBASE_VERSION}/hbase-${HBASE_VERSION}-bin.tar.gz" -o hbase.tar.gz \
|
&& curl -fSL "${HBASE_REPOSITORY}/${HBASE_VERSION}/hbase-${HBASE_VERSION}-bin.tar.gz" -o hbase.tar.gz || curl -fSL "${HBASE_SUB_REPOSITORY}/${HBASE_VERSION}/hbase-${HBASE_VERSION}-bin.tar.gz" -o hbase.tar.gz \
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
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.4.2
|
||||||
- 2.4.1
|
- 2.4.1
|
||||||
- 2.4.0
|
- 2.4.0
|
||||||
- 2.3.3
|
- 2.3.3
|
||||||
@@ -33,7 +33,7 @@ Please see the [Pinpoint-Docker GitHub repository](https://github.com/pinpoint-a
|
|||||||
|
|
||||||
## Any Issues or Suggestions?
|
## Any Issues or Suggestions?
|
||||||
|
|
||||||
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint/issues).
|
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint-docker/issues).
|
||||||
Contributions on the pinpoint-docker image is also always welcome.
|
Contributions on the pinpoint-docker image is also always welcome.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@@ -3,6 +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
|
||||||
|
${HBASE_HOME}/bin/hbase shell ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
else
|
else
|
||||||
sleep 15
|
sleep 15
|
||||||
echo "create tables"
|
echo "create tables"
|
||||||
|
|||||||
39
pinpoint-hbase/build/scripts/configure-hbase.sh
Normal file
39
pinpoint-hbase/build/scripts/configure-hbase.sh
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
cp ${BASE_DIR}/hbase-create.hbase ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
|
||||||
|
sed -i "/AgentInfo/s/TTL => .[[:digit:]]*/TTL => ${AGENTINFO_TTL:-31536000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/AgentStatV2/s/TTL => .[[:digit:]]*/TTL => ${AGENTSTATV2_TTL:-5184000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/ApplicationStatAggre/s/TTL => .[[:digit:]]*/TTL => ${APPSTATAGGRE_TTL:-5184000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/ApplicationIndex/s/TTL => .[[:digit:]]*/TTL => ${APPINDEX_TTL:-31536000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/AgentLifeCycle/s/TTL => .[[:digit:]]*/TTL => ${AGENTLIFECYCLE_TTL:-5184000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/AgentEvent/s/TTL => .[[:digit:]]*/TTL => ${AGENTEVENT_TTL:-5184000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/StringMetaData/s/TTL => .[[:digit:]]*/TTL => ${STRINGMETADATA_TTL:-15552000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/ApiMetaData/s/TTL => .[[:digit:]]*/TTL => ${APIMETADATA_TTL:-31536000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/SqlMetaData_Ver2/s/TTL => .[[:digit:]]*/TTL => ${SQLMETADATA_TTL:-15552000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/TraceV2/s/TTL => .[[:digit:]]*/TTL => ${TRACEV2_TTL:-5184000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/ApplicationTraceIndex/s/TTL => .[[:digit:]]*/TTL => ${APPTRACEINDEX_TTL:-5184000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/ApplicationMapStatisticsCaller_Ver2/s/TTL => .[[:digit:]]*/TTL => ${APPMAPSTATCALLERV2_TTL:-5184000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/ApplicationMapStatisticsCallee_Ver2/s/TTL => .[[:digit:]]*/TTL => ${APPMAPSTATCALLEV2_TTL:-5184000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/ApplicationMapStatisticsSelf_Ver2/s/TTL => .[[:digit:]]*/TTL => ${APPMAPSTATSELFV2_TTL:-5184000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
sed -i "/HostApplicationMap_Ver2/s/TTL => .[[:digit:]]*/TTL => ${HOSTAPPMAPV2_TTL:-5184000}/g" ${BASE_DIR}/hbase-create.hbase
|
||||||
|
|
||||||
|
sed -i "s/create/alter/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/AgentInfo/s/TTL => .[[:digit:]]*/TTL => ${AGENTINFO_TTL:-31536000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/AgentStatV2/s/TTL => .[[:digit:]]*/TTL => ${AGENTSTATV2_TTL:-5184000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/ApplicationStatAggre/s/TTL => .[[:digit:]]*/TTL => ${APPSTATAGGRE_TTL:-5184000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/ApplicationIndex/s/TTL => .[[:digit:]]*/TTL => ${APPINDEX_TTL:-31536000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/AgentLifeCycle/s/TTL => .[[:digit:]]*/TTL => ${AGENTLIFECYCLE_TTL:-5184000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/AgentEvent/s/TTL => .[[:digit:]]*/TTL => ${AGENTEVENT_TTL:-5184000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/StringMetaData/s/TTL => .[[:digit:]]*/TTL => ${STRINGMETADATA_TTL:-15552000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/ApiMetaData/s/TTL => .[[:digit:]]*/TTL => ${APIMETADATA_TTL:-31536000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/SqlMetaData_Ver2/s/TTL => .[[:digit:]]*/TTL => ${SQLMETADATA_TTL:-15552000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/TraceV2/s/TTL => .[[:digit:]]*/TTL => ${TRACEV2_TTL:-5184000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/ApplicationTraceIndex/s/TTL => .[[:digit:]]*/TTL => ${APPTRACEINDEX_TTL:-5184000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/ApplicationMapStatisticsCaller_Ver2/s/TTL => .[[:digit:]]*/TTL => ${APPMAPSTATCALLERV2_TTL:-5184000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/ApplicationMapStatisticsCallee_Ver2/s/TTL => .[[:digit:]]*/TTL => ${APPMAPSTATCALLEV2_TTL:-5184000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/ApplicationMapStatisticsSelf_Ver2/s/TTL => .[[:digit:]]*/TTL => ${APPMAPSTATSELFV2_TTL:-5184000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
sed -i "/HostApplicationMap_Ver2/s/TTL => .[[:digit:]]*/TTL => ${HOSTAPPMAPV2_TTL:-5184000}/g" ${BASE_DIR}/hbase-update-ttl.hbase
|
||||||
|
|
||||||
|
exec "$@"
|
||||||
@@ -2,4 +2,5 @@
|
|||||||
|
|
||||||
${HBASE_HOME}/bin/start-hbase.sh
|
${HBASE_HOME}/bin/start-hbase.sh
|
||||||
|
|
||||||
|
/usr/local/bin/configure-hbase.sh
|
||||||
/usr/local/bin/check-table.sh
|
/usr/local/bin/check-table.sh
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.4.1
|
PINPOINT_VERSION=2.4.2
|
||||||
|
|
||||||
### Pinpoint-mysql
|
### Pinpoint-mysql
|
||||||
MYSQL_ROOT_PASSWORD=root123
|
MYSQL_ROOT_PASSWORD=root123
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
FROM mysql:8.0
|
FROM mysql:8.0
|
||||||
|
|
||||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.1}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.2}
|
||||||
|
|
||||||
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 \
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
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.4.2
|
||||||
- 2.4.1
|
- 2.4.1
|
||||||
- 2.4.0
|
- 2.4.0
|
||||||
- 2.3.3
|
- 2.3.3
|
||||||
@@ -33,7 +33,7 @@ Please see [Pinpoint-Docker GitHub repository](https://github.com/pinpoint-apm/p
|
|||||||
|
|
||||||
## Any Issues or Suggestions?
|
## Any Issues or Suggestions?
|
||||||
|
|
||||||
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint/issues).
|
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint-docker/issues).
|
||||||
Contributions on the pinpoint-docker image is also always welcome.
|
Contributions on the pinpoint-docker image is also always welcome.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.4.1
|
PINPOINT_VERSION=2.4.2
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
|
|
||||||
### Pinpoint-Agent
|
### Pinpoint-Agent
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
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.4.2
|
||||||
- 2.4.1
|
- 2.4.1
|
||||||
- 2.4.0
|
- 2.4.0
|
||||||
- 2.3.3
|
- 2.3.3
|
||||||
@@ -33,7 +33,7 @@ Please see the [Pinpoint-Docker GitHub repository](https://github.com/pinpoint-a
|
|||||||
|
|
||||||
## Any Issues or Suggestions?
|
## Any Issues or Suggestions?
|
||||||
|
|
||||||
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint/issues).
|
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint-docker/issues).
|
||||||
Contributions on the pinpoint-docker image is also always welcome.
|
Contributions on the pinpoint-docker image is also always welcome.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.4.1
|
PINPOINT_VERSION=2.4.2
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
|
|
||||||
### Pinpoint-Web
|
### Pinpoint-Web
|
||||||
@@ -18,11 +18,6 @@ ADMIN_PASSWORD=admin
|
|||||||
#analytics
|
#analytics
|
||||||
CONFIG_SENDUSAGE=true
|
CONFIG_SENDUSAGE=true
|
||||||
|
|
||||||
#flink server information required if used
|
|
||||||
BATCH_ENABLE=false
|
|
||||||
BATCH_SERVER_IP=127.0.0.1
|
|
||||||
BATCH_FLINK_SERVER=pinpoint-flink-jobmanager
|
|
||||||
|
|
||||||
CONFIG_SHOW_APPLICATIONSTAT=true
|
CONFIG_SHOW_APPLICATIONSTAT=true
|
||||||
|
|
||||||
#mysql information required if used
|
#mysql information required if used
|
||||||
@@ -30,16 +25,3 @@ JDBC_DRIVERCLASSNAME=com.mysql.jdbc.Driver
|
|||||||
JDBC_URL=jdbc:mysql://pinpoint-mysql:3306/pinpoint?characterEncoding=UTF-8
|
JDBC_URL=jdbc:mysql://pinpoint-mysql:3306/pinpoint?characterEncoding=UTF-8
|
||||||
JDBC_USERNAME=admin
|
JDBC_USERNAME=admin
|
||||||
JDBC_PASSWORD=admin
|
JDBC_PASSWORD=admin
|
||||||
|
|
||||||
#mail server information required if used
|
|
||||||
ALARM_MAIL_SERVER_URL=smtp.gmail.com
|
|
||||||
ALARM_MAIL_SERVER_PORT=587
|
|
||||||
ALARM_MAIL_SERVER_USERNAME=username
|
|
||||||
ALARM_MAIL_SERVER_PASSWORD=password
|
|
||||||
ALARM_MAIL_SENDER_ADDRESS=pinpoint_operator@pinpoint.com
|
|
||||||
ALARM_MAIL_TRANSPORT_PROTOCOL=smtp
|
|
||||||
ALARM_MAIL_SMTP_PORT=25
|
|
||||||
ALARM_MAIL_SMTP_AUTH=false
|
|
||||||
ALARM_MAIL_SMTP_STARTTLS_ENABLE=false
|
|
||||||
ALARM_MAIL_SMTP_STARTTLS_REQUIRED=false
|
|
||||||
ALARM_MAIL_DEBUG=false
|
|
||||||
@@ -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.4.1}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.2}
|
||||||
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 \
|
||||||
@@ -9,7 +9,7 @@ RUN mkdir -p /pinpoint/config \
|
|||||||
COPY /build/config/pinpoint-web.properties /pinpoint/config/
|
COPY /build/config/pinpoint-web.properties /pinpoint/config/
|
||||||
COPY /build/scripts/start-web.sh /pinpoint/scripts/
|
COPY /build/scripts/start-web.sh /pinpoint/scripts/
|
||||||
#temporary line for local test
|
#temporary line for local test
|
||||||
#COPY /pinpoint-web-boot-2.4.1-SNAPSHOT.jar /pinpoint/pinpoint-web-boot.jar
|
#COPY /pinpoint-web-boot-2.4.2-SNAPSHOT.jar /pinpoint/pinpoint-web-boot.jar
|
||||||
|
|
||||||
RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean \
|
RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean \
|
||||||
&& chmod a+x /pinpoint/scripts/start-web.sh \
|
&& chmod a+x /pinpoint/scripts/start-web.sh \
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
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.4.2
|
||||||
- 2.4.1
|
- 2.4.1
|
||||||
- 2.4.0
|
- 2.4.0
|
||||||
- 2.3.3
|
- 2.3.3
|
||||||
@@ -33,7 +33,7 @@ Please see the [Pinpoint-Docker GitHub repository](https://github.com/pinpoint-a
|
|||||||
|
|
||||||
## Any Issues or Suggestions?
|
## Any Issues or Suggestions?
|
||||||
|
|
||||||
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint/issues).
|
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint-docker/issues).
|
||||||
Contributions on the pinpoint-docker image is also always welcome.
|
Contributions on the pinpoint-docker image is also always welcome.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@@ -20,28 +20,14 @@ services:
|
|||||||
- "${WEB_SERVER_PORT:-8080}:${WEB_SERVER_PORT:-8080}"
|
- "${WEB_SERVER_PORT:-8080}:${WEB_SERVER_PORT:-8080}"
|
||||||
environment:
|
environment:
|
||||||
- WEB_SERVER_PORT=${WEB_SERVER_PORT}
|
- WEB_SERVER_PORT=${WEB_SERVER_PORT}
|
||||||
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES},batch
|
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES}
|
||||||
- PINPOINT_ZOOKEEPER_ADDRESS=${PINPOINT_ZOOKEEPER_ADDRESS}
|
- PINPOINT_ZOOKEEPER_ADDRESS=${PINPOINT_ZOOKEEPER_ADDRESS}
|
||||||
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
||||||
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
||||||
- CONFIG_SENDUSAGE=${CONFIG_SENDUSAGE}
|
- CONFIG_SENDUSAGE=${CONFIG_SENDUSAGE}
|
||||||
- LOGGING_LEVEL_ROOT=${WEB_LOGGING_LEVEL_ROOT}
|
- LOGGING_LEVEL_ROOT=${WEB_LOGGING_LEVEL_ROOT}
|
||||||
- CONFIG_SHOW_APPLICATIONSTAT=${CONFIG_SHOW_APPLICATIONSTAT}
|
- CONFIG_SHOW_APPLICATIONSTAT=${CONFIG_SHOW_APPLICATIONSTAT}
|
||||||
- BATCH_ENABLE=${BATCH_ENABLE}
|
|
||||||
- BATCH_SERVER_IP=${BATCH_SERVER_IP}
|
|
||||||
- BATCH_FLINK_SERVER=${BATCH_FLINK_SERVER}
|
|
||||||
- JDBC_DRIVERCLASSNAME=${JDBC_DRIVERCLASSNAME}
|
- JDBC_DRIVERCLASSNAME=${JDBC_DRIVERCLASSNAME}
|
||||||
- JDBC_URL=${JDBC_URL}
|
- JDBC_URL=${JDBC_URL}
|
||||||
- JDBC_USERNAME=${JDBC_USERNAME}
|
- JDBC_USERNAME=${JDBC_USERNAME}
|
||||||
- JDBC_PASSWORD=${JDBC_PASSWORD}
|
- JDBC_PASSWORD=${JDBC_PASSWORD}
|
||||||
- ALARM_MAIL_SERVER_URL=${ALARM_MAIL_SERVER_URL}
|
|
||||||
- ALARM_MAIL_SERVER_PORT=${ALARM_MAIL_SERVER_PORT}
|
|
||||||
- ALARM_MAIL_SERVER_USERNAME=${ALARM_MAIL_SERVER_USERNAME}
|
|
||||||
- ALARM_MAIL_SERVER_PASSWORD=${ALARM_MAIL_SERVER_PASSWORD}
|
|
||||||
- ALARM_MAIL_SENDER_ADDRESS=${ALARM_MAIL_SENDER_ADDRESS}
|
|
||||||
- ALARM_MAIL_TRANSPORT_PROTOCOL=${ALARM_MAIL_TRANSPORT_PROTOCOL}
|
|
||||||
- ALARM_MAIL_SMTP_PORT=${ALARM_MAIL_SMTP_PORT}
|
|
||||||
- ALARM_MAIL_SMTP_AUTH=${ALARM_MAIL_SMTP_AUTH}
|
|
||||||
- ALARM_MAIL_SMTP_STARTTLS_ENABLE=${ALARM_MAIL_SMTP_STARTTLS_ENABLE}
|
|
||||||
- ALARM_MAIL_SMTP_STARTTLS_REQUIRED=${ALARM_MAIL_SMTP_STARTTLS_REQUIRED}
|
|
||||||
- ALARM_MAIL_DEBUG=${ALARM_MAIL_DEBUG}
|
|
||||||
Reference in New Issue
Block a user