We are trying to create an Elastic APM Java plugin that supports Neo4J's Bolt protocol.
However, we are new to Java, and have been trying to create one by asking questions on ChatGPT, etc., but with no success.
If you know of any useful websites or examples, please let me know.
The sources we are currently referring to are below:
We are writing code like below, but it seems that we are not able to hook the session properly.
Please let me know if there is anything wrong or missing.
With your help, we are now able to get some Neo4J metrics.
However, there is still a problem.
The metrics we get are not traced correctly on kibana.
While a normal trace would allow kibana to graphically show us class and method migrations, the trace we get only shows us the Neo4J access itself.
Moreover, the metric that Elasticsearch is supposed to retrieve for us is also missing.
Any insights would be appreciated.
Where we have run the following setup, java -javaagent:/opt/elastic-apm/elastic-apm-agent-1.43.1-SNAPSHOT.jar -Delastic.apm.plugins_dir=/opt/elastic-apm/plugins -Delastic.apm.server_urls="My Endpoint URL" -Delastic.apm.secret_token=My Token -Delastic.apm.service_name=Neo4j-linux-test -Delastic.apm.application_packages=com.example.App -Delastic.apm.enable_instrumentations=all -jar ./target/neo4j-example-1.0-SNAPSHOT.jar
The following error occurs: 2024-06-27 10:04:56,292 [main] WARN co.elastic.apm.agent.bci.bytebuddy.InstallationListenerImpl - Byte Buddy warmup ended without transforming at least one class. The agent may not work as expected.
Can you figure out what caused it and what to do about it?
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.