The Universal Plugin Manager (UPM) is a tool for administering apps in Atlassian applications. You can use the UPM to find, install, manage, and configure apps. The UPM interface is the same across products.
docker build . -t atlassian_upm_exporter
List Help
docker run -it --rm atlassian_upm_exporter -help
Get all plugins example
docker run -it --rm -p 9996:9996 atlassian_upm_exporter -app.fqdn="<bitbucket|confluence|jira>.domain.com" -app.token='<base64>'
Get all 'user-installed' plugins, and check for updates example
docker run -it --rm -p 9996:9996 atlassian_upm_exporter -app.fqdn="<bitbucket|confluence|jira>.domain.com" -app.token='<base64>' -user-installed -check-updates
If monitoring Jira, can drop 'jira-software' plugins as well
docker run -it --rm -p 9996:9996 atlassian_upm_exporter -app.fqdn="<bitbucket|confluence|jira>.domain.com" -app.token='<base64>' -user-installed -check-updates -drop-jira-software-plugins
- job_name: "atlassian_upm_exporter"
static_configs:
- targets:
- 'host.domain.com:9996'
- The initial plugin endpoint lists all plugins with the current installed version. It has to get the Key for the plugin, then reach out to check the avilable endpoint, then compare the available update version for each plugin.
- The plugin doesn't have any requestable Key data at:
/rest/plugin/latest/availble/<plugin.Key>-key
. I'm not fully sure, but I think this is on the maintainer of the plugin to implement their plugin correctly on the Atlassian Marketplace.
Thank you everyone that writes code and docs!
- https://golang.org/
- https://prometheus.io/
- https://github.com/Sirupsen/logrus
- github.com/hashicorp/go-version
- https://www.atlassian.com/
- https://confluence.atlassian.com/upm/universal-plugin-manager-documentation-273875696.html
- https://ecosystem.atlassian.net/wiki/spaces/UPM/pages/6094960/UPM+REST+API