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
    Maximum number of users
    • 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


Cluster
MetricsDescription
JVM Metrics
jira

bitbucket_

total

maintenance_

cluster

expiry_

nodes

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 MetricsDescriptionjira_all_users_gaugejira_active_users_gaugejira_allowed_users_gauge

days_gauge

all others starting with 7.3.0

Maintenance Expiry Days Gauge

bitbucket_license_expiry_days_gauge

License Expiry Days Gauge

Users Metrics
bitbucket_allowed_users_gaugeMaximum Allowed Users
bitbucket_active_users_gaugeActive Users
GaugeAttachment Disk Space MetricsDescriptionjira_total_attachment_size_gaugeJVM Metrics

bitbucket_maintenance_expiry_days_gauge

Maintenance Expiry Days Gauge

bitbucket_license_expiry_days_gauge

License Expiry Days
Gauge


JVM metrics

Expand
titleExample - JVM threads example

...