Once you configure your Prometheus Exporter app, you can expose the following metrics into Prometheus:
- JVM metrics
- PE - Using Prometheus Exporter for Bitbucket#User User MetricsPE - Using Prometheus Exporter for Bitbucket#License
- License metrics
- PE - Using Prometheus Exporter for Bitbucket#Login Login / Logout statistics
- Push statistics
- PE - Using Prometheus Exporter for Bitbucket#Clone Clone statisticsPE - Using Prometheus Exporter for Bitbucket#Forks
- Forks statistics
- PE - Using Prometheus Exporter for Bitbucket#Pull Pull requests
- Plugins statistics
- Other statistics
Metrics description
Metrics | Type | Description |
---|---|---|
JVM Metrics | ||
JVM metrics exposed with the Confluence exporter are the same as for Jira, see detailed description here. See JVM examples below. | ||
User Metrics | ||
bitbucket_allowed_users | Gauge | Maximum allowed users. |
bitbucket_active_users | Gauge | Active users gauge. |
bitbucket_maintenance_expiry_days | Gauge | Maintenance Expiry Days Gauge |
bitbucket_license_expiry_days | Gauge | License Expiry Days Gauge |
bitbucket_allowed_users | Gauge | Maximum Allowed Users |
bitbucket_active_users | Gauge | Active Users Gauge |
bitbucket_success_auth | Counter | User Success Auth Count |
bitbucket_failed_auth | Counter | User Failed Auth Count |
bitbucket_repo_push | Counter | Repository Pushes Count |
bitbucket_repo_clone | Counter | Repository Clones Count |
bitbucket_repo_fork | Counter | Repository Forks Count |
bitbucket_pull_request_open | Counter | Number of opened pull requests |
bitbucket_pull_request_merge | Counter | Merged Pull Requests Count |
bitbucket_pull_request_decline | Counter | Declined Pull Requests Count |
bitbucket_plugin_installed | Counter | Plugin Installed Count |
bitbucket_plugin_uninstalled | Counter | Plugin Uninstalled Count |
bitbucket_plugin_enabled | Counter | Plugin Enabled Count |
bitbucket_plugin_disabled | Counter | Plugin Disabled Count |
bitbucket_total_projects | Gauge | Total Projects Gauge |
bitbucket_total_repositories | Gauge | Total Repositories Gauge |
bitbucket_total_pull_requests | Gauge | Total Pull Requests Gauge |
License metrics | ||
bitbucket_maintenance_expiry_days_gauge | Gauge | Maintenance Expiry Days Gauge |
bitbucket_license_expiry_days_gauge | Gauge | License Expiry Days Gauge |
bitbucket_allowed_users_gauge | Gauge | Maximum Allowed Users |
bitbucket_active_users_gauge | Gauge | Active Users Gauge |
Login / Logout statistics | ||
bitbucket_success_auth_count | Counter | User Success Auth Count |
bitbucket_failed_auth_count | Counter | User Failed Auth Count |
Push statistics | ||
bitbucket_repo_push_count | Counter | Repository Pushes Count. See example below. |
Clone statistics | ||
bitbucket_repo_clone_count | Counter | Repository Clones Count |
Forks statistics | ||
bitbucket_repo_fork_count | Counter | Repository Forks Count |
Pull requests | ||
bitbucket_pull_request_open | Counter | Opened Pull Requests Count |
bitbucket_pull_request_merge | Counter | Merged Pull Requests Count |
bitbucket_pull_request_decline | Counter | Declined Pull Requests Count |
Plugins statistics | ||
bitbucket_plugin_installed | Counter | Number of installed apps |
bitbucket_plugin_uninstalled | Counter | Number of uninstalled apps |
bitbucket_plugin_enabled | Counter | Number of enabled apps |
bitbucket_plugin_disabled | Counter | Number of disabled apps |
Other statistics | ||
bitbucket_total_projects_gauge | Gauge | Total Projects Gauge |
bitbucket_total_repositories_gauge | Gauge | Total Repositories Gauge |
bitbucket_total_pull_requests_gauge | Gauge | Total Pull Requests Gauge |
JVM metrics examples
Expand | ||
---|---|---|
| ||
...
Expand | ||
---|---|---|
| ||