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:

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.

Agent metrics

bamboo_all_agents_gaugeGaugeAll agents gauge
bamboo_active_agents_gaugeGaugeActive agents gauge
bamboo_busy_agents_gaugeGaugeBusy agents gauge

Application statistics

bamboo_error_countCounterNumber of errors
bamboo_lifecycle_state_gaugeGaugeServer lifecycle state.
Values:
0 - setup
1 - starting
2 - running
3 - pausing
4 - preparing_for_restart
5 - ready_for_restart
6 - paused
This metric is available for Bamboo versions 1.0.6 and above.

Builds statistics

bamboo_finished_build_countCounterFinished builds count. See example below.
bamboo_canceled_build_countCounterCanceled builds count
bamboo_build_queue_timeout_countCounterBuild queue timeout count

Plan statistics

bamboo_plans_gauge

Gauge

Plans count.
This metric is available for Bamboo versions 1.0.5 and above.

bamboo_plans_workers_idle_gauge

Gauge

Workers idle gauge.
This metric is available for Bamboo versions 1.0.5 and above.

bamboo_plans_workers_busy_gauge

GaugeWorkers busy gauge.
This metric is available for Bamboo versions 1.0.5 and above.

bamboo_plans_workers_queue_gauge

GaugeWorkers queue gauge.
This metric is available for Bamboo versions 1.0.5 and above.

Deploy statistics

bamboo_finished_deploys_countCounterFinished deploys count

License metrics

bamboo_maintenance_expiry_days_gaugeGaugeMaintenance expiry days gauge
bamboo_license_expiry_days_gaugeGaugeLicense expiry days gauge
bamboo_allowed_users_gaugeGaugeAllowed users gauge

Workers statistics

bamboo_plans_workers_idle_gaugeGaugePlan workers idle gauge
bamboo_plans_workers_busy_gaugeGaugePlan workers busy gauge
bamboo_plans_workers_queue_gaugeGaugePlan workers queue size gauge

Queue timeout counter





JVM metrics examples

Expand
titleExample - JVM threads example


Expand
titleExample - Memory usage example


Builds example

Expand
titleExample - Success Successful builds example


See also

PE - Configuring Prometheus Exporter for Bamboo