...
...
...
...
...
...
Info |
---|
Content in development. |
Once you configure your Prometheus Exporter app, you can expose the following metrics into Prometheus:
- JVM metrics
- User Metrics
- License metrics
- Application Login / Logout statistics
- Builds Push statistics
- Number of days before maintenance expiry
- Push, clone and fork countersClone statistics
- Forks statistics
- Pull requests counters
- Projects, repositories and pull requests count
User Metrics
- Maximum number of users
Login statistics- 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_ |
maintenanceexpiry_daysMaintenance expiry days gaugeMaximum allowed users. This metric is available for Bitbucket versions 1.0.11 and above. |
bitbucket_ |
licenseexpiry_daysLicense expiry days Active users gauge. This metric is available for Bitbucket versions 1.0.11 and above. |
Users Metrics |
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 |
. This metric is available for Bitbucket versions 1.0.11 and above._gauge | Gauge | Maximum Allowed Users |
bitbucket_active_users_gauge | Gauge | Active |
users gauge. This metric is available for Bitbucket versions 1.0.11 and above.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 |
---|
|
|
Push statistics example
Expand |
---|
|
|
See also
Configuring Prometheus Exporter for Bitbucket