v.2.5.3
This commit is contained in:
43
pinpoint-batch/.env
Normal file
43
pinpoint-batch/.env
Normal file
@@ -0,0 +1,43 @@
|
||||
PINPOINT_VERSION=2.5.3
|
||||
SPRING_PROFILES=release
|
||||
|
||||
### Pinpoint-Batch
|
||||
|
||||
PINPOINT_BATCH_NAME=pinpoint-batch
|
||||
|
||||
BATCH_SERVER_PORT=8079
|
||||
#zookeeper information required
|
||||
PINPOINT_ZOOKEEPER_ADDRESS=
|
||||
|
||||
BATCH_LOGGING_LEVEL_ROOT=INFO
|
||||
|
||||
CLUSTER_ENABLE=true
|
||||
|
||||
ADMIN_PASSWORD=admin
|
||||
|
||||
#analytics
|
||||
CONFIG_SENDUSAGE=true
|
||||
|
||||
#flink server information required if used
|
||||
BATCH_FLINK_SERVER=pinpoint-flink-jobmanager
|
||||
|
||||
CONFIG_SHOW_APPLICATIONSTAT=true
|
||||
|
||||
#mysql information required if used
|
||||
JDBC_DRIVERCLASSNAME=com.mysql.jdbc.Driver
|
||||
JDBC_URL=jdbc:mysql://pinpoint-mysql:3306/pinpoint?characterEncoding=UTF-8
|
||||
JDBC_USERNAME=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
|
||||
17
pinpoint-batch/Dockerfile
Normal file
17
pinpoint-batch/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM openjdk:11.0.16-jre-slim-buster
|
||||
|
||||
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 \
|
||||
&& mkdir -p /pinpoint/scripts
|
||||
|
||||
COPY /build/config/pinpoint-batch.properties /pinpoint/config/
|
||||
COPY /build/scripts/start-batch.sh /pinpoint/scripts/
|
||||
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean \
|
||||
&& chmod a+x /pinpoint/scripts/start-batch.sh \
|
||||
&& chmod a+x /pinpoint/config/pinpoint-batch.properties \
|
||||
&& curl -SL ${INSTALL_URL} -o /pinpoint/pinpoint-batch.jar
|
||||
|
||||
ENTRYPOINT ["sh", "/pinpoint/scripts/start-batch.sh"]
|
||||
40
pinpoint-batch/Readme.md
Normal file
40
pinpoint-batch/Readme.md
Normal file
@@ -0,0 +1,40 @@
|
||||
## Pinpoint Batch
|
||||
|
||||
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
|
||||
- 2.4.1
|
||||
- 2.4.0
|
||||
|
||||
Please see the [Pinpoint-Docker GitHub repository](https://github.com/pinpoint-apm/pinpoint-docker) for further information on how to run, configure and build this image.
|
||||
|
||||
## Any Issues or Suggestions?
|
||||
|
||||
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.
|
||||
|
||||
## License
|
||||
|
||||
Pinpoint is licensed under the Apache License, Version 2.0.
|
||||
See [LICENSE](https://github.com/pinpoint-apm/pinpoint/blob/master/LICENSE) for full license text.
|
||||
|
||||
```
|
||||
Copyright 2018 NAVER Corp.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
```
|
||||
8
pinpoint-batch/build/config/pinpoint-batch.properties
Normal file
8
pinpoint-batch/build/config/pinpoint-batch.properties
Normal file
@@ -0,0 +1,8 @@
|
||||
##########
|
||||
# another way of setting properties.
|
||||
# applied priority '.ENV' -> 'pinpoint-web.properties'
|
||||
# property should be commented in docker-compose file to use
|
||||
# ex) PINPOINT_ZOOKEEPER_ADDRESS should be commented in docker-compose to use pinpoint.zookeeper.address below
|
||||
##########
|
||||
|
||||
pinpoint.zookeeper.address=
|
||||
5
pinpoint-batch/build/scripts/start-batch.sh
Normal file
5
pinpoint-batch/build/scripts/start-batch.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -x
|
||||
|
||||
exec java -jar /pinpoint/pinpoint-batch.jar --spring.config.additional-location=/pinpoint/config/pinpoint-batch.properties
|
||||
43
pinpoint-batch/docker-compose.yml
Normal file
43
pinpoint-batch/docker-compose.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
version: "3.6"
|
||||
|
||||
services:
|
||||
pinpoint-batch:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
- PINPOINT_VERSION=${PINPOINT_VERSION}
|
||||
|
||||
container_name: "${PINPOINT_BATCH_NAME}"
|
||||
image: "pinpointdocker/pinpoint-batch:${PINPOINT_VERSION}"
|
||||
|
||||
restart: always
|
||||
expose:
|
||||
- "${BATCH_SERVER_PORT:-8079}"
|
||||
ports:
|
||||
- "${BATCH_SERVER_PORT:-8079}:${BATCH_SERVER_PORT:-8079}"
|
||||
environment:
|
||||
- BATCH_SERVER_PORT=${BATCH_SERVER_PORT}
|
||||
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES}
|
||||
- PINPOINT_ZOOKEEPER_ADDRESS=${PINPOINT_ZOOKEEPER_ADDRESS}
|
||||
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
||||
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
||||
- CONFIG_SENDUSAGE=${CONFIG_SENDUSAGE}
|
||||
- LOGGING_LEVEL_ROOT=${BATCH_LOGGING_LEVEL_ROOT}
|
||||
- CONFIG_SHOW_APPLICATIONSTAT=${CONFIG_SHOW_APPLICATIONSTAT}
|
||||
- BATCH_FLINK_SERVER=${BATCH_FLINK_SERVER}
|
||||
- JDBC_DRIVERCLASSNAME=${JDBC_DRIVERCLASSNAME}
|
||||
- JDBC_URL=${JDBC_URL}
|
||||
- JDBC_USERNAME=${JDBC_USERNAME}
|
||||
- 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