You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Asraful Samad Chowdhury edited this page Mar 1, 2021
·
3 revisions
Steps:
Install apm-server-6.4.2-x86_64.rpm.
Change apm-server.yml file.
output.elasticsearch:
hosts: ["localhost:9200"]
Create a shared directory like "/usr/share/app/apm".
Copy elastic-apm-agent-0.7.1.jar into that directory.
Change start scripts for all components (add below section).
#apm config
JAVA_OPTS="$JAVA_OPTS -javaagent:/usr/share/app/apm/elastic-apm-agent-0.7.1.jar"
JAVA_OPTS="$JAVA_OPTS -Delastic.apm.service_name=cms-1.0.jar"# Name of the corresponding jar
JAVA_OPTS="$JAVA_OPTS -Delastic.apm.server_url=http://localhost:8200"
JAVA_OPTS="$JAVA_OPTS -Delastic.apm.application_packages=com.sample.app"#Package name of that component