Versions Compared

Key

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


Info

Content in development.


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 users
    • Login statistics



License:

name

help

type

bitbucket_maintenance_expiry_days_gauge
Maintenance Expiry Days Gauge
Gauge
bitbucket_license_expiry_days_gaugeLicense Expiry Days GaugeGauge
bitbucket_allowed_users_gaugeMaximum Allowed UsersGauge
bitbucket_active_users_gaugeActive Users GaugeGauge


Login/Logout:

namehelplabelNamestype
bitbucket_success_auth_countUser Success Auth Count
Counter
bitbucket_failed_auth_countUser Failed Auth CountusernameCounter

Pushes:

namehelplabelNamestype
bitbucket_repo_push_count
Repository Pushes Count
project, repository, usernameCounter

Clones:

namehelplabelNamestype
bitbucket_repo_clone_countRepository Clones Countproject, repository, usernameCounter

Forks:

namehelplabelNamestype
bitbucket_repo_fork_count
Repository Forks Count
project, repository, usernameCounter

Pull requests:

namehelplabelNamestype
bitbucket_pull_request_openOpened Pull Requests Countproject, repositoryCounter
bitbucket_pull_request_mergeMerged Pull Requests Countproject, repositoryCounter
bitbucket_pull_request_declineDeclined Pull Requests Countproject, repositoryCounter

Plugin:

namehelplabelNamestype
bitbucket_plugin_installed
Plugin Installed Count
pluginKey
Counter
bitbucket_plugin_uninstalledPlugin Uninstalled CountpluginKeyCounter
bitbucket_plugin_enabledPlugin Enabled CountpluginKeyCounter
bitbucket_plugin_disabledPlugin Disabled CountpluginKeyCounter


Scheduled:

namehelptype
bitbucket_total_projects_gaugeTotal Projects GaugeGauge
bitbucket_total_repositories_gaugeTotal Repositories GaugeGauge
bitbucket_total_pull_requests_gaugeTotal Pull Requests GaugeGauge


MetricsTypeDescription
JVM Metrics

bitbucket_maintenance_expiry_days

Gauge

Maintenance expiry days gauge.
This metric is available for Bitbucket versions 1.0.11 and above.

bitbucket_license_expiry_days

Gauge

License expiry days gauge.
This metric is available for Bitbucket versions 1.0.11 and above.

Users 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.

...