If you have the appdynamics tile installed on your Ops Manager.
1. Verify the appdynamics service is present in the cf environment.
$ cf marketplace -s appdynamics
service plan description free or paid
pcf-appd pcf-appd free
pcf-appd-troubleshooting-lab pcf-appd-troubleshooting-lab free
2. Create service for appdynamics
cf create-service appdynamics pcf-appd appd
3. Bind the service to your app by either adding in manifest or using `
cf bind-service` command.
In manifest:
...
services:
- appd
command
Using CF CLI
cf bind-service <app_name> appd
4. Deploy/restage your application using
`cf push` or
`cf restage <app_name>`During the staging phase, you should see the following log message:
AppDynamics service detected
If you don't have the appdynamics tile installed or you want to use an external installation of appdynamics.
1. Create user provided service with your appdynamics details:
$ cf cups appdynamics-custom -p '{"account-access-key":"access-key-goes-here","account-name":"customer1","host-name":"testhostname.com","port":"8090","ssl-enabled":"False", "application-name": "optional-application-name", "tier-name": "optional-tier-name", "node-name": "optional-node-name"}'
After creating the user provided service please follow step 3 and 4 changing the service name to "
appdynamics-custom".