Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Info

Content in development.

Once you configure your Prometheus Once you configure your Prometheus Exporter app, you can expose the following metrics into Prometheus:

...

...

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 

MetricsTypeDescription

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_usersGauge

Maximum allowed users.
This metric is available for Bitbucket versions 1.0.11 and above.

bitbucket_active_usersGauge

Active users gauge.
This metric is available for Bitbucket versions 1.0.11 and above.

bitbucket_maintenance_expiry_daysGaugeMaintenance Expiry Days Gauge
bitbucket_license_expiry_daysGaugeLicense Expiry Days Gauge
bitbucket_allowed_usersGaugeMaximum Allowed Users
bitbucket_active_usersGaugeActive Users Gauge
bitbucket_success_authCounterUser Success Auth Count
bitbucket_failed_authCounterUser Failed Auth Count
bitbucket_repo_pushCounterRepository Pushes Count
bitbucket_repo_cloneCounterRepository Clones Count
bitbucket_repo_forkCounterRepository Forks Count
bitbucket_pull_request_openCounter
Opened Pull Requests Count
Number of opened pull requests
bitbucket_pull_request_mergeCounterMerged Pull Requests Count
bitbucket_pull_request_declineCounterDeclined Pull Requests Count
bitbucket_plugin_installedCounterPlugin Installed Count
bitbucket_plugin_uninstalledCounterPlugin Uninstalled Count
bitbucket_plugin_enabledCounterPlugin Enabled Count
bitbucket_plugin_disabledCounterPlugin Disabled Count
bitbucket_total_projectsGaugeTotal Projects Gauge
bitbucket_total_repositoriesGaugeTotal Repositories Gauge
bitbucket_total_pull_requestsGaugeTotal Pull Requests Gauge

License

...

name

help

type

metrics

bitbucket_maintenance_expiry_days_gaugeGaugeMaintenance Expiry Days
Gauge
Gauge
bitbucket_license_expiry_days_gaugeGaugeLicense Expiry Days Gauge
Gauge
bitbucket_allowed_users_gaugeGaugeMaximum Allowed Users
Gauge
bitbucket_active_users_gaugeGaugeActive Users Gauge
Gauge

Login / Logout

...

namehelplabelNamestype

statistics

bitbucket_success_auth_countCounterUser Success Auth Count
CounternamehelplabelNamestype
bitbucket_failed_auth_countCounterUser Failed Auth Count
usernameCounter

Pushes:

Push statistics

bitbucket_repo_push_count

Repository Pushes Count
project, repository, username
Counter

Clones:

namehelplabelNamestype
Repository Pushes Count

Clone statistics

bitbucket_repo_clone_countCounterRepository Clones Count
project, repository, usernameCounter

Forks

...

namehelplabelNamestype

statistics

bitbucket_repo_fork_countCounterRepository Forks Count
project, repository, usernameCounter

Pull requests

...

namehelplabelNamestype
bitbucket_pull_request_openCounterOpened Pull Requests Count
project, repositoryCounter
bitbucket_pull_request_mergeCounterMerged Pull Requests Count
project, repository
Counter
bitbucket_pull_request_
declineDeclined Pull Requests Countproject, repositoryCounter

Plugin:

namehelplabelNamestype
declineCounterDeclined Pull Requests Count

Plugins statistics

bitbucket_plugin_installed
Plugin Installed Count
pluginKeyCounter
CounterNumber of installed apps
bitbucket_plugin_uninstalled
Plugin Uninstalled CountpluginKeyCounterCounter
CounterNumber of uninstalled apps
bitbucket_plugin_enabled
Plugin Enabled CountpluginKey
CounterNumber of enabled apps
bitbucket_plugin_disabled
Plugin Disabled CountpluginKeynamehelptype
Counter

Scheduled:

Number of disabled apps

Other statistics

bitbucket_total_projects_gaugeGaugeTotal Projects Gauge
Gauge
bitbucket_total_repositories_gaugeGaugeTotal Repositories Gauge
Gauge
bitbucket_total_pull_requests_gaugeGaugeTotal Pull Requests
Gauge
Gauge

JVM metrics examples

Expand
titleJVM threads

...

Expand
titleMemory usage


Expand
titleCommits count



See also

Configuring Prometheus Exporter for Bitbucket