If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text
TIP 1: select at least one tag that further categorizes your topic. For example server
for APM Server related questions, java
for questions regarding the Elastic APM Java agent, or ui
for questions about the APM App within Kibana.
TIP 2: Check out the troubleshooting guide first. Not only will it help you to resolve common problems faster but it also explains in more detail which information we need before we can properly help you.
Kibana version: 7.1.1:
Elasticsearch version: 7.1.1:
APM Server version: 7.1.1:
APM Agent language and version: elastic-apm-agent-1.18.0.RC1.jar:
Browser version: Chrome 84.0.4147.89 (Official Build) (64-bit):
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
- First I've installed the apm-server:
- curl -L -O https://artifacts.elastic.co/downloads/apm-server/apm-server-7.1.1-x86_64.rpm
- rpm -vi apm-server-7.1.1-x86_64.rpm
- I've configured the /etc/apm-server/apm-server.yml with the following details:
apm-server:
host: "0.0.0.0:8200"
rum:
enabled: true
output:
elasticsearch:
hosts: localhost:9200
queue.mem.events: 4096
max_procs: 4
- Started the service
- Installed the apm agent on java server.
- tried the port from java server towards the apm-server and it succeded.
- started the wildfly together with the parameters
Fresh install or upgraded from other version?
fresh install
Is there anything special in your setup? For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.
no
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
The java application is started as a wildfly service: java-wildfly
I have added the following parameters on the /opt/wildfly-bstapp/bin/standalone.conf
export JAVA_OPTS="$JAVA_OPTS -javaagent:/home/catalin/elastic-apm-agent-1.18.0.RC1.jar"
export JAVA_OPTS="$JAVA_OPTS -Delastic.apm.service_name=cool-service"
export JAVA_OPTS="$JAVA_OPTS -Delastic.apm.application_packages=$JBOSS_MODULES_SYSTEM_PKGS"
export JAVA_OPTS="$JAVA_OPTS -Delastic.apm.server_urls=http://82.78.135.170:8200"
The application is starting, I can even see the above java_opts as parameters listing it's process, however checking the agent status from kibana interface outputs: "No data has been received from agents yet".
Steps to reproduce:
- start the wildfly service
- browse the application via web broswer
- check the Agent status - fails
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
server.log LOG FILE: https://github.com/catadetest/logs/blob/master/server.log
standalone.conf file: https://github.com/catadetest/logs/blob/master/standalone.conf
Any help would be really appreciated
Thanks!