I checked the logs and got this: 2018-09-04 09:43:10.783 [main] WARN co.elastic.apm.impl.ElasticApmTracerBuilder - Missing required value for configuration option service_name
I tried passing the parameter using the command line with -D and -P flag but was ignored, and when I added in build.gradle I got Could not get unknown property 'elastic' for task ':bootRun' of type org.springframework.boot.gradle.tasks.run.BootRun
You can configure the agent in different ways. See documentation. When using system properties, you have to prefix the properties with elastic.apm, like -Delastic.apm.service_name=my-service.
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.