Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to launch agent on remote server #149

Open
DevAshish-oodles opened this issue Sep 15, 2022 · 1 comment
Open

Unable to launch agent on remote server #149

DevAshish-oodles opened this issue Sep 15, 2022 · 1 comment

Comments

@DevAshish-oodles
Copy link

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
Copy link
Contributor

ga-ram commented Sep 16, 2022

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.

sed -i "/profiler.transport.module=/ s/=.*/=${PROFILER_TRANSPORT_MODULE}/" /pinpoint-agent/profiles/${SPRING_PROFILES}/pinpoint.config

SPRING_PROFILES=release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants