Hi, I'm exploring the option to ship the JMX console default metrics like OperationStats.WorkflowPurgeTask.SUCCESS to AWS CloudWatch for better observability. I've implemented collectd to grab the JMX metrics and was able to ship the GenericJMX mbean metrics like memory_pool but could not find the mbean configurations required for the aforementioned OperationStats.WorkflowPurgeTask.SUCCESS AEM JMX console metrics. Is there a way to achieve this on AEM on-premise offering?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @PradeepBa
I am not sure if below API can help or not
https://docs.oracle.com/javase/8/docs/api/java/lang/management/ManagementFactory.html
https://docs.oracle.com/javase/8/docs/api/javax/management/MBeanServer.html
Example
MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer();
ObjectName name = new ObjectName("com.adobe.granite:type=Metrics,name=OperationStats.WorkflowPurgeTask.SUCCESS");
Hi @PradeepBa
I am not sure if below API can help or not
https://docs.oracle.com/javase/8/docs/api/java/lang/management/ManagementFactory.html
https://docs.oracle.com/javase/8/docs/api/javax/management/MBeanServer.html
Example
MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer();
ObjectName name = new ObjectName("com.adobe.granite:type=Metrics,name=OperationStats.WorkflowPurgeTask.SUCCESS");
Hi @PradeepBa,
Did the shared solution help you out? Please let us know if you need more information. Otherwise kindly consider marking the most suitable answer as ‘correct’.
If you've discovered a solution yourself, we would appreciate it if you could share it with the community.
Views
Replies
Total Likes