Hello, I have a few paid and free add-ons running in my Bitbucket 5.x instance, and I was wondering if there is an easy way to tell how much use they are getting, for future purchasing decisions etc.
It is not an easy thing because the plugin usage is not monitored or logged.
Probably you can enable the access logs and hope that every single call is recorded in there. But it depends on the implementation of the plugin. For example, there might be hooks, pull requests restrictions etc that are not logged even in the access logs.
I found the solution. It's related more to hooks rather than addons. In my case it works because each addon has a hook. So first need to connect to Bitbucket's db. Then run next query
sta_repo_hook.repository_id = repository.id
sta_repo_hook.lob_id = sta_shared_lob.id
It returns all enabled plugins with json settings for each of them.
sta_repo_hook - table with many-to-many relationship between repos and hooks
repository - table with repos
sta_shared_lob - settings for plugins
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot