-
Download docker-compose.yml to start APM Server
docker compose -f docker-compose.yml up
-
Install agent from APM CLI @fynal-ai/apm
pnpm install -g @fynal-ai/apm apm --help
-
Create a new agent
apm init
follow the instruction to create a new agent
-
Install agent to AMP server
apm install
Instead of deploying all in one with docker-compose.yml, you can deploy APM Server alone with exist external database.
export APM_LOCAL_REPOSITORY_DIR=~/.apm
docker run --name apm-test --rm -p 12008:12008 -v $APM_LOCAL_REPOSITORY_DIR:/app/.apm -e MONGO_CONNECTION_STRING=<MONGO_CONNECTION_STRING> -e REDIS_CONNECTION_STRING=<REDIS_CONNECTION_STRING> fynalai/apm:latestSee http://127.0.0.1:12008/documentation for Application development.
For more environment variables, see Dockerfile.latest
See http://127.0.0.1:12008/documentation for Application development. seperate-dev-start.md
setenv.sh:
export APM_AGENT_STORE_BASE_URL="https://agentstoreemp.baystoneai.com"docker-compose.yml:
- APM_AGENT_STORE_BASE_URL=http://172.16.7.141:11008
