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

Unable to launch agent on remote server #149

Open DevAshish-oodles opened 1 year ago

DevAshish-oodles commented 1 year ago

I am trying to launch pinpoint agent on remote server but getting error -

pinpoint-agent | + sed -i '/profiler.transport.module=/ s/=.*/=GRPC/' /pinpoint-agent/profiles//pinpoint.config pinpoint-agent | sed: /pinpoint-agent/profiles//pinpoint.config: No such file or directory

I have installed pinpoint using docker now i am facing issue to configure the agent on my remote server, Please help me to resolve this issue

ga-ram commented 1 year ago

it seems like $SPRING_PROFILES is not set. The docker-compose.yml for pinpoint-agent uses SPRING_PROFILES=release as you can see in the .env file. https://github.com/pinpoint-apm/pinpoint-docker/blob/61065c6812e22921f1c18b36a9afb58dbf06ecf9/pinpoint-agent/build/scripts/configure-agent.sh#L6 https://github.com/pinpoint-apm/pinpoint-docker/blob/61065c6812e22921f1c18b36a9afb58dbf06ecf9/pinpoint-agent/.env#L2