Setup Elastic APM for the first time

Hi everyone,

We're facing an issue when trying to monitor application using elasticsearch APM.

We're already deploying elastic-agent on fleet server and deploy APM server. Now we're facing an issue when we want to add APM Agents. Can you guys suggest on what application we should test? because we already try to use dummy .jar application and it seems not working

Thanks!

Hi @Dylan_Juan,

Please share the error you were facing

Hi @Dylan_Juan Welcome to the community...

You could try this.. it is my test app

Just update the run-with-apm.sh to your values and latest agent.

You can activate the API with

http://localhost:8080/api/cars
http://localhost:8080/api/owners

Hi @stephenb, i'm excited to join the community...

I've already done troubleshooting regarding APM. Here's what i've done
I deployed springboot test app with petclinic from github

and getting the responses from Kibana -> APM-> Services interface

java -javaagent:/home/weblogic/source/elastic-apm-agent.jar -Delastic.apm.service_name=PetClinic -Delastic.apm.application_packages=org.springframework.samples.petclinic -Delastic.apm.server_url=http://172.70.12.30:8200 -jar target/*.jar

I'll try to deploy your test app soon, Thanks!