The javamelody plugin is now compatible with Bitbucket. See doc.
1. But currently, jdbc connections and SQL requests are not monitored by the plugin.
How would it be possible to import in Bitbucket from the plugin a Spring post-processor for Bitbucket's datasource, like this one which exists in the javamelody spring-boot-starter ?
2. And currently, the plugin does not restrict access to the monitoring page to the Bitbucket's administrator using Bitbucket's login. It's because there is no easy access to the user from the http session and Bitbucket's AuthenticationContext does not give access to the user given the order of filters (that is AuthenticationContext and Spring's SecurityContext do not contain the user yet in the plugin's filter).
Would it be possible, in the plugin's filter, to get the current authenticated user if any from a http session or a http request? Possibly with changes to some Bitbucket's classes which Atlassian may accept.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.