I am trying to monitor my JBOSS Java7_80 server with APM.
I already tried to do so with the apm-server versions 7.9, 7.8, 7.7 and 7.6. Regarding the java attached agent, I have only used the version 1.17.
I cannot use the version 1.18 of the agent because it crashes the JVM due to a bug which has not been fixed. More information: JVM Crash with APM
The problem is that even though the apm-server and apm-agent seem to establish a connection successfully, the transaction page of the APM view is empty.
Information: Kibana version : 7.9.0
Elasticsearch version : 7.9.2
APM Server version : 7.9.2
APM Agent language and version : Java 7_80
Browser version : Google Chrome 80.0.3987.149
Fresh install or upgraded from other version? Fresh install
Is there anything special in your setup? The communication between the agent and the APM server is plain within an internal network. The problem is the agent won't attach to the Java VM, so it has nothing to do with a communication issue with APM server.
That sounds odd. This should only happen if no transactions exist for the given service. You can try running the following query in Kibana Dev Tools to verify whether you have transactions or not:
After querying the apm-server the result was a 404 http error:
[root@SRVHIDS1 ~]# curl "http://192.168.250.114:8200/api/apm/services/comerzzia-pre/agent_name?start=2020-10-01T00%3A00%3A00.000Z&end=2020-10-10T00%3A00%3A00.000Z" -vvv
* About to connect() to 192.168.250.114 port 8200 (#0)
* Trying 192.168.250.114...
* Connected to 192.168.250.114 (192.168.250.114) port 8200 (#0)
> GET /api/apm/services/comerzzia-pre/agent_name?start=2020-10-01T00%3A00%3A00.000Z&end=2020-10-10T00%3A00%3A00.000Z HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 192.168.250.114:8200
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Content-Type: application/json
< X-Content-Type-Options: nosniff
< Date: Thu, 08 Oct 2020 10:54:02 GMT
< Content-Length: 36
<
{
"error": "404 page not found"
}
* Connection #0 to host 192.168.250.114 left intact
When I expand the range time I can see the data of the agent 1.18. Still, the apm java agent does not seem to report anything interesting. Do you think the issue could be related to compatibility version problem?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.