Update setup-javaagent.asciidoc
* Update setup-javaagent.asciidoc
Update the cloud foundry deploy with more details about the configuration.
Fix server_url to server_urls and specify where to find them.
* server_urls -> server_url
* Update setup-javaagent.asciidoc
@@ -230,13 +230,15 @@ A user provided Elastic APM service must have a name or tag with `elastic-apm` i
Create a user provided service:
-`cf cups my-elastic-apm-service -p '{"server_url":"https://my-apm-server:8200","secret_token":"my-secret-token"}'`
+`cf cups my-elastic-apm-service -p '{"server_url":"my-apm-server-url","secret_token":"my-apm-server-secret-token"}'`
+
+Both `my-apm-server-url` and `my-apm-server-secret-token` are respectively `server_url` and `secret_token` from service-key of your Elasticsearch server.
Bind the application to the service:
`cf bind-service my-application my-elastic-apm-service`
-or use the `services` block in the application manifest file.
+and restage the application or use the `services` block in the application manifest file.
For more details on the Elastic Java APM Agent Framework for Cloud Foundry see link:https://github.com/cloudfoundry/java-buildpack/blob/main/docs/framework-elastic_apm_agent.md[here].
