...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Info |
---|
Content in development. |
Once you configure your Prometheus Once you configure your Prometheus Exporter app, you can expose the following metrics into Prometheus:
- JVM metrics
- Application statistics
- Builds statistics Number of days before maintenance expiry
- Push, clone and fork counters
- Pull requests counters
- Projects, repositories and pull requests count
- User Metrics
- Maximum number of usersLicense metrics
- Login / Logout statistics
...
...
bitbucket_maintenance_expiry_days
...
Maintenance expiry days gauge. This metric is available for Bitbucket versions 1.0.11 and above.
...
bitbucket_license_expiry_days
...
License expiry days gauge. This metric is available for Bitbucket versions 1.0.11 and above.
...
...
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 |
---|
...
name
help
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 |
Pushes:
Push statistics | ||
---|---|---|
bitbucket_repo_push_count |
Repository Pushes Count
Counter |
Clones:
Repository Pushes Count | ||
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_ |
Plugin:
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 |
Scheduled:
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 | ||
---|---|---|
| ||
Expand | ||
---|---|---|
| ||