2

I have a use case to monitor the JVM metrics like(heap size,garbage collection etc) when my JAVA application is running .My application is running on EC2. can you help me how JCONSOLE be used in EC2,or any other open source or will cloud watch help in doing this when my appication is running

Thanks

1 Answer 1

2

You can use AWS CloudWatch metrics to have monitoring of the instance. You can use Datadog services to have extra monitoring. You can use this document as a reference for datadog JMX integration.

If not, you can install JMX Directly on your EC2 instance

Sign up to request clarification or add additional context in comments.

8 Comments

Thanks for the reply but can I use datadog in EC2 amazon linux to monitor java application or should i connect it remotlY?
You can connect ec2 with datadog. refer https://docs.datadoghq.com/integrations/awsec2/
actually my requirement is not to watch EC2metrics but JVM matrics for my java application running on EC2 can you help?
I believe you can do integration between ec2 and datadog and datadog and JMX, which will cater your requirement.
If not you can directly install JMX in your instance. https://stackoverflow.com/questions/13734646/how-to-connect-to-java-instances-running-on-ec2-using-jmx
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.