pinpoint-apm / pinpoint-docker

Official Dockerized components of the Pinpoint
http://pinpoint-apm.github.io/pinpoint/
Apache License 2.0
452 stars 226 forks source link

pinpoint-quickstart test app not visible on APM WEB #99

Open snmsmanager opened 3 years ago

snmsmanager commented 3 years ago

Hi,

I am going to test pinpoint-quickstart app running on docker with our existing pinpoint collector which is running on VM as non docker container.

I did the following steps. • git clone https://github.com/naver/pinpoint-docker.git • cd pinpoint-docker/pinpoint-quickstart • changed COLLECTOR_IP to X.X.X.X in .env file • docker-compose pull && docker-compose up -d

Test web app is able to access successfully over port 8000. But pinpoint-agent is restarting frequently. And not able to see application in Pinpoint WEB.

docker ps output as below

image

docker logs 2c1146da0365 (pinpoint-quickstart) as below Collector IP is 127.0.0.1 and not X.X.X.X

image

docker logs 95f451c577e4 (pinpoint-agent) as below

image

Please help me to resolve this.

Thanks, Pradeep.

RoySRose commented 3 years ago

Strange... should work if you started with docker-compose. please check SPRING_PROFILES variable, if it's set. A default value should be added in the future to avoid this problem