Versions Compared

Key

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

Once you configure your Prometheus Exporter for Bitbucket enables to expose Bitbucket metrics: JVM and application statistics to Prometheus.The app exposes app, you can expose the following metrics into Prometheus:


  • JVM metrics
  • Application statistics
  • Builds statistics
  • Maximum number of users
  • Number of days before maintenance expiry
  • Push, clone and fork counters
  • Pull requests counters
  • Projects, repositories and pull requests count
  • Login statistics

Cluster MetricMetricsDescription
jira_total_cluster_nodes_gaugeall others starting with 7.3.0

jira_active_cluster_nodes_gauge


jira_cluster_heartbeat_counter

https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/jira/event/cluster/HeartbeatEvent.html

jira_cluster_cache_replication_resumed_counter

starting with Jira v7.7.1 https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/jira/event/cluster/CacheReplicationResumedEvent.html

jira_cluster_cache_replication_stopped_counter

starting with Jira v7.7.1 https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/jira/event/cluster/CacheReplicationStoppedEvent.html

Users MetricMetricsDescription
jira_all_users_gauge
jira_active_users_gauge
jira_allowed_users_gauge

bitbucket_allowed_users_gauge

Maximum Allowed Users

bitbucket_active_users_gauge

Active Users Gauge

Attachment Disk Space MetricMetricsDescription
jira_total_attachment_size_gauge
JVM Metric

...

Metrics

bitbucket_maintenance_expiry_days_gauge

...

Maintenance Expiry Days Gauge

bitbucket_license_expiry_days_gauge

...

See the following examples for JVM Threads, Memory Usage  and Commits Count statistics:

...

License Expiry Days Gauge


JVM metrics

Expand
titleExample - JVM threads example

Image Added


Expand
titleExample - Memory usage example

Image Added


Expand
titleExample - Commits count example

Image Modified



See also

_Prometheus Exporters PE - Configuring Prometheus ExportersExporter for Bitbucket