Versions Compared

Key

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

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


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.


JVM metrics examples

Expand
titleExample - JVM threads example


Expand
titleExample - Memory usage example


Expand
titleExample - Commits count example



See also

PE - Configuring Prometheus Exporter for Bitbucket