Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e9dae2963 | ||
|
|
04d2f4ffda | ||
|
|
69a8a1d0f6 |
2
.env
2
.env
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.2.2
|
PINPOINT_VERSION=2.3.0
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
#zookeeper information required
|
#zookeeper information required
|
||||||
PINPOINT_ZOOKEEPER_ADDRESS=zoo1
|
PINPOINT_ZOOKEEPER_ADDRESS=zoo1
|
||||||
|
|||||||
29
Readme.md
29
Readme.md
@@ -3,16 +3,17 @@
|
|||||||
|
|
||||||
# Pinpoint-Docker for Pinpoint
|
# Pinpoint-Docker for Pinpoint
|
||||||
|
|
||||||
Official git repository of Dockerized components of the [Pinpoint Application Monitoring](http://naver.github.io/pinpoint/).
|
Official git repository of Dockerized components of the [Pinpoint Application Monitoring](https://github.com/pinpoint-apm/pinpoint).
|
||||||
Installing Pinpoint with these docker files will take approximately 10min. to check out the features of pinpoint.
|
Installing Pinpoint with these docker files will take approximately 10min. to check out the features of pinpoint.
|
||||||
|
|
||||||
## What is Pinpoint
|
## What is Pinpoint
|
||||||
|
|
||||||
[Pinpoint](https://github.com/naver/pinpoint), is the world's leading open-source application monitoring solution - trusted by millions of users around the globe.
|
[Pinpoint](https://github.com/pinpoint-apm/pinpoint), is the world's leading open-source application monitoring solution - trusted by millions of users around the globe.
|
||||||
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.3.0
|
||||||
- 2.2.2
|
- 2.2.2
|
||||||
- 2.2.1
|
- 2.2.1
|
||||||
- 2.2.0
|
- 2.2.0
|
||||||
@@ -23,7 +24,7 @@ It supports and helps you understand your application in a glance and allow you
|
|||||||
- 2.0.2
|
- 2.0.2
|
||||||
- 2.0.1
|
- 2.0.1
|
||||||
- Default transport module has changed from THRIFT to gRPC
|
- Default transport module has changed from THRIFT to gRPC
|
||||||
- Spring profiler added (check [homepage](https://naver.github.io/pinpoint/2.0.1/installation.html#profiles) for more info)
|
- Spring profiler added (check [homepage](https://pinpoint-apm.github.io/pinpoint/2.0.1/installation.html#profiles) for more info)
|
||||||
- 1.8.5
|
- 1.8.5
|
||||||
- 1.8.4
|
- 1.8.4
|
||||||
- 1.8.3
|
- 1.8.3
|
||||||
@@ -80,17 +81,17 @@ The Pinpoint-Mysql is necessary to use 'Alarm' feature. It's server is running o
|
|||||||
|
|
||||||
To send email alerts, you must make BATCH_ENABLE=true and change the other mail-related environment variables (MAIL_HOST, MAIL_PORT, MAIL_USERNAME, MAIL_PASSWORD, MAIL_PROPERTIES_MAIL_SMTP_FROM, ...) to the Pinpoint-Web server in *.env* file.
|
To send email alerts, you must make BATCH_ENABLE=true and change the other mail-related environment variables (MAIL_HOST, MAIL_PORT, MAIL_USERNAME, MAIL_PASSWORD, MAIL_PROPERTIES_MAIL_SMTP_FROM, ...) to the Pinpoint-Web server in *.env* file.
|
||||||
|
|
||||||
For more information checkout [Setting Alarm](http://naver.github.io/pinpoint/alarm.html) in Pinpoint documentation.
|
For more information checkout [Setting Alarm](http://pinpoint-apm.github.io/pinpoint/alarm.html) in Pinpoint documentation.
|
||||||
|
|
||||||
### Flink configuration (optional)
|
### Flink configuration (optional)
|
||||||
|
|
||||||
The Pinpoint-Flink is necessary to use ['Application Inspector'](http://naver.github.io/pinpoint/applicationinspector.html) feature.
|
The Pinpoint-Flink is necessary to use ['Application Inspector'](https://pinpoint-apm.github.io/pinpoint/applicationinspector.html) feature.
|
||||||
|
|
||||||
After all containers are started and ready to go. Pinpoint-Flink server is running on [port 8081](http://localhost:8081/).
|
After all containers are started and ready to go. Pinpoint-Flink server is running on [port 8081](http://localhost:8081/).
|
||||||
|
|
||||||
### Alarm configuration (optional)
|
### Alarm configuration (optional)
|
||||||
|
|
||||||
You can check the [alarm guide document at the homepage](https://naver.github.io/pinpoint/alarm.html) for full understanding.
|
You can check the [alarm guide document at the homepage](https://pinpoint-apm.github.io/pinpoint/alarm.html) for full understanding.
|
||||||
But for the docker image, All is set. fillout variables under *#mail server information required* in `.env` file before starting the container
|
But for the docker image, All is set. fillout variables under *#mail server information required* in `.env` file before starting the container
|
||||||
|
|
||||||
### Testing QuickStart application
|
### Testing QuickStart application
|
||||||
@@ -104,13 +105,13 @@ It will take some time for Pinpoint to retrieve the application's information wh
|
|||||||
Pinpoint-Agent only prepares required libraries for triggering Pinpoint-Agent.
|
Pinpoint-Agent only prepares required libraries for triggering Pinpoint-Agent.
|
||||||
Running and configuring agents is manual action done by the user, but don't worry it's very simple.
|
Running and configuring agents is manual action done by the user, but don't worry it's very simple.
|
||||||
|
|
||||||
If you are not familiar with Pinpoint concept, please read: [Overview](http://naver.github.io/pinpoint/overview.html#architecture),
|
If you are not familiar with Pinpoint concept, please read: [Overview](https://pinpoint-apm.github.io/pinpoint/overview.html#architecture),
|
||||||
[Agents Installation](http://naver.github.io/pinpoint/installation.html#5-pinpoint-agent)
|
[Agents Installation](https://pinpoint-apm.github.io/pinpoint/installation.html#5-pinpoint-agent)
|
||||||
|
|
||||||
**You will need to attach *Pinpoint-Agent* to your application.**
|
**You will need to attach *Pinpoint-Agent* to your application.**
|
||||||
|
|
||||||
Running Pinpoint-Agent docker-compose separately, Examples are [here](https://github.com/naver/pinpoint-docker/tree/master/pinpoint-agent-attach-example).
|
Running Pinpoint-Agent docker-compose separately, Examples are [here](https://github.com/pinpoint-apm/pinpoint-docker/tree/master/pinpoint-agent-attach-example).
|
||||||
Otherwise, you can check how [Pinpoint-Quickstart](https://github.com/naver/pinpoint-docker/blob/master/docker-compose.yml) is attached to Pinpoint-Agent with docker-compose.
|
Otherwise, you can check how [Pinpoint-Quickstart](https://github.com/pinpoint-apm/pinpoint-docker/blob/master/docker-compose.yml) is attached to Pinpoint-Agent with docker-compose.
|
||||||
|
|
||||||
We'll try to create more examples along the way.
|
We'll try to create more examples along the way.
|
||||||
If anyone who can share their dockerfile, it's always welcome.
|
If anyone who can share their dockerfile, it's always welcome.
|
||||||
@@ -139,8 +140,8 @@ With `docker-compose` in this repository. You can create stand-alone containers
|
|||||||
|
|
||||||
Pinpoint-Zookeeper is just an example of using zookeeper image. You can modify docker-compose files to suit your needs.
|
Pinpoint-Zookeeper is just an example of using zookeeper image. You can modify docker-compose files to suit your needs.
|
||||||
|
|
||||||
For more specific details on what the values represents in *.env* file. Please check [Pinpoint Github Repository](https://github.com/naver/pinpoint) or
|
For more specific details on what the values represents in *.env* file. Please check [Pinpoint Github Repository](https://github.com/pinpoint-apm/pinpoint) or
|
||||||
[Pinpoint Web properties](https://github.com/naver/pinpoint/blob/master/web/src/main/resources/pinpoint-web.properties), [Pinpoint Collector properties](https://github.com/naver/pinpoint/blob/master/collector/src/main/resources/pinpoint-collector.properties), [Pinpoint Agent configuration](https://github.com/naver/pinpoint/blob/master/agent/src/main/resources-release/pinpoint.config).
|
[Pinpoint Web properties](https://github.com/pinpoint-apm/pinpoint/blob/master/web/src/main/resources/pinpoint-web-root.properties), [Pinpoint Collector properties](httpshttps://github.com/pinpoint-apm/pinpoint/blob/master/collector/src/main/resources/pinpoint-collector-root.properties), [Pinpoint Agent configuration](https://github.com/pinpoint-apm/pinpoint/blob/master/agent/src/main/resources/pinpoint-root.config).
|
||||||
Please note that only essential configuration options are adopted to pinpoint-docker(docker-compose).
|
Please note that only essential configuration options are adopted to pinpoint-docker(docker-compose).
|
||||||
|
|
||||||
## logs
|
## logs
|
||||||
@@ -154,12 +155,12 @@ You can also easily change the log level from *.env* file.
|
|||||||
|
|
||||||
## Any Issues or Suggestions?
|
## Any Issues or Suggestions?
|
||||||
|
|
||||||
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/naver/pinpoint/issues).
|
Feel free to share any problems and suggestions via [Pinpoint GitHub Issue page](https://github.com/pinpoint-apm/pinpoint/issues).
|
||||||
Contributions on the pinpoint-docker image is also always welcome.
|
Contributions on the pinpoint-docker image is also always welcome.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
Pinpoint is licensed under the Apache License, Version 2.0.
|
Pinpoint is licensed under the Apache License, Version 2.0.
|
||||||
See [LICENSE](https://github.com/naver/pinpoint/blob/master/LICENSE) for full license text.
|
See [LICENSE](https://github.com/pinpoint-apm/pinpoint/blob/master/LICENSE) for full license text.
|
||||||
|
|
||||||
```
|
```
|
||||||
Copyright 2018 NAVER Corp.
|
Copyright 2018 NAVER Corp.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
### Pinpoint with Java
|
### Pinpoint with Java
|
||||||
PINPOINT_VERSION=2.2.2
|
PINPOINT_VERSION=2.3.0
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
AGENT_ID=app-in-docker
|
AGENT_ID=app-in-docker
|
||||||
APP_NAME=quickapp
|
APP_NAME=quickapp
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
### Pinpoint with Tomcat
|
### Pinpoint with Tomcat
|
||||||
PINPOINT_VERSION=2.2.2
|
PINPOINT_VERSION=2.3.0
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
APP_PORT=8000
|
APP_PORT=8000
|
||||||
AGENT_ID=app-in-docker
|
AGENT_ID=app-in-docker
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.2.2
|
PINPOINT_VERSION=2.3.0
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
|
|
||||||
### Pinpoint-Agent
|
### Pinpoint-Agent
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ FROM alpine:3.7
|
|||||||
|
|
||||||
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
||||||
|
|
||||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.2.2}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.0}
|
||||||
ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-agent-${PINPOINT_VERSION}.tar.gz
|
ARG INSTALL_URL=https://github.com/naver/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/
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ This Docker image contains the Pinpoint Agent component of the Pinpoint applicat
|
|||||||
|
|
||||||
## Supported Tags
|
## Supported Tags
|
||||||
|
|
||||||
|
- 2.3.0
|
||||||
- 2.2.2
|
- 2.2.2
|
||||||
- 2.2.1
|
- 2.2.1
|
||||||
- 2.2.0
|
- 2.2.0
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.2.2
|
PINPOINT_VERSION=2.3.0
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
|
|
||||||
### Pinpoint-Collector
|
### Pinpoint-Collector
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ FROM openjdk:8-jdk-alpine
|
|||||||
|
|
||||||
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
||||||
|
|
||||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.2.2}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.0}
|
||||||
ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-boot-${PINPOINT_VERSION}.jar
|
ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-collector-boot-${PINPOINT_VERSION}.jar
|
||||||
|
|
||||||
RUN mkdir -p /pinpoint/config \
|
RUN mkdir -p /pinpoint/config \
|
||||||
@@ -11,7 +11,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.2.2-SNAPSHOT.jar /pinpoint/pinpoint-collector-boot.jar
|
#COPY /pinpoint-collector-boot-2.3.0-SNAPSHOT.jar /pinpoint/pinpoint-collector-boot.jar
|
||||||
|
|
||||||
RUN apk --no-cache add curl \
|
RUN apk --no-cache add curl \
|
||||||
&& chmod a+x /pinpoint/scripts/start-collector.sh \
|
&& chmod a+x /pinpoint/scripts/start-collector.sh \
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ This Docker image contains the Pinpoint Collector component of the Pinpoint appl
|
|||||||
|
|
||||||
## Supported Tags
|
## Supported Tags
|
||||||
|
|
||||||
|
- 2.3.0
|
||||||
- 2.2.2
|
- 2.2.2
|
||||||
- 2.2.1
|
- 2.2.1
|
||||||
- 2.2.0
|
- 2.2.0
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.2.2
|
PINPOINT_VERSION=2.3.0
|
||||||
|
|
||||||
### Pinpoint-flink
|
### Pinpoint-flink
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
FROM flink:1.7
|
FROM flink:1.7
|
||||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.2.2}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.0}
|
||||||
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 \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.2.2
|
PINPOINT_VERSION=2.3.0
|
||||||
|
|
||||||
### Pinpoint-Hbase
|
### Pinpoint-Hbase
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ FROM java:8-jdk
|
|||||||
|
|
||||||
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
||||||
|
|
||||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.2.2}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.0}
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ This Docker image contains the Pinpoint Hbase component of the Pinpoint applicat
|
|||||||
|
|
||||||
## Supported Tags
|
## Supported Tags
|
||||||
|
|
||||||
|
- 2.3.0
|
||||||
- 2.2.2
|
- 2.2.2
|
||||||
- 2.2.1
|
- 2.2.1
|
||||||
- 2.2.0
|
- 2.2.0
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.2.2
|
PINPOINT_VERSION=2.3.0
|
||||||
|
|
||||||
### Pinpoint-mysql
|
### Pinpoint-mysql
|
||||||
MYSQL_ROOT_PASSWORD=root123
|
MYSQL_ROOT_PASSWORD=root123
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
FROM mysql:5.7
|
FROM mysql:5.7
|
||||||
|
|
||||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.2.2}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.0}
|
||||||
|
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt-get install -y --no-install-recommends ca-certificates wget \
|
&& apt-get install -y --no-install-recommends ca-certificates wget \
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ This Docker image contains the Pinpoint Mysql component of the Pinpoint applicat
|
|||||||
|
|
||||||
## Supported Tags
|
## Supported Tags
|
||||||
|
|
||||||
|
- 2.3.0
|
||||||
- 2.2.2
|
- 2.2.2
|
||||||
- 2.2.1
|
- 2.2.1
|
||||||
- 2.2.0
|
- 2.2.0
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.2.2
|
PINPOINT_VERSION=2.3.0
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
|
|
||||||
### Pinpoint-Agent
|
### Pinpoint-Agent
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PINPOINT_VERSION=2.2.2
|
PINPOINT_VERSION=2.3.0
|
||||||
SPRING_PROFILES=release
|
SPRING_PROFILES=release
|
||||||
|
|
||||||
### Pinpoint-Web
|
### Pinpoint-Web
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ FROM openjdk:8-jdk-alpine
|
|||||||
|
|
||||||
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
LABEL maintainer="Roy Kim <roy.kim@navercorp.com>"
|
||||||
|
|
||||||
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.2.2}
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.0}
|
||||||
ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-web-boot-${PINPOINT_VERSION}.jar
|
ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-web-boot-${PINPOINT_VERSION}.jar
|
||||||
|
|
||||||
RUN mkdir -p /pinpoint/config \
|
RUN mkdir -p /pinpoint/config \
|
||||||
@@ -11,7 +11,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.2.2-SNAPSHOT.jar /pinpoint/pinpoint-web-boot.jar
|
#COPY /pinpoint-web-boot-2.3.0-SNAPSHOT.jar /pinpoint/pinpoint-web-boot.jar
|
||||||
|
|
||||||
RUN apk --no-cache add curl \
|
RUN apk --no-cache add curl \
|
||||||
&& chmod a+x /pinpoint/scripts/start-web.sh \
|
&& chmod a+x /pinpoint/scripts/start-web.sh \
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ This Docker image contains the Pinpoint Web component of the Pinpoint applicatio
|
|||||||
|
|
||||||
## Supported Tags
|
## Supported Tags
|
||||||
|
|
||||||
|
- 2.3.0
|
||||||
- 2.2.2
|
- 2.2.2
|
||||||
- 2.2.1
|
- 2.2.1
|
||||||
- 2.2.0
|
- 2.2.0
|
||||||
|
|||||||
Reference in New Issue
Block a user