Thanks for reaching out.
Are you looking for this documentation? Enabling JMX counters for performance monitoring
I will point out that in order to monitor CPU load and memory usage you’d need to retrieve the appropriate metrics from the OS, not Bitbucket Server.
Similarly, Bitbucket Server does not expose ES metrics. Those would need to be retrieved from ElasticSearch instead.