PE - Using Prometheus Exporter for Bamboo
Once you configure your Prometheus Exporter app, you can expose the following metrics into Prometheus:
- JVM metrics
- Agent metrics
- Application statistics
- Builds statistics
- Plan statistics
- Deploy statistics
- License metrics
- Workers statistics
- Queue timeout counter
Metrics description
Metrics | Type | Description |
---|---|---|
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_gauge | Gauge | All agents gauge |
bamboo_active_agents_gauge | Gauge | Active agents gauge |
bamboo_busy_agents_gauge | Gauge | Busy agents gauge |
Application statistics | ||
bamboo_error_count | Counter | Number of errors |
bamboo_lifecycle_state_gauge | Gauge | Server 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_count | Counter | Finished builds count. See example below. |
bamboo_canceled_build_count | Counter | Canceled builds count |
bamboo_build_queue_timeout_count | Counter | Build queue timeout count |
Plan statistics | ||
bamboo_plans_gauge | Gauge | Plans count. |
bamboo_plans_workers_idle_gauge | Gauge | Workers idle gauge. |
bamboo_plans_workers_busy_gauge | Gauge | Workers busy gauge. This metric is available for Bamboo versions 1.0.5 and above. |
bamboo_plans_workers_queue_gauge | Gauge | Workers queue gauge. This metric is available for Bamboo versions 1.0.5 and above. |
Deploy statistics | ||
bamboo_finished_deploys_count | Counter | Finished deploys count |
License metrics | ||
bamboo_maintenance_expiry_days_gauge | Gauge | Maintenance expiry days gauge |
bamboo_license_expiry_days_gauge | Gauge | License expiry days gauge |
bamboo_allowed_users_gauge | Gauge | Allowed users gauge |
Workers statistics | ||
bamboo_plans_workers_idle_gauge | Gauge | Plan workers idle gauge |
bamboo_plans_workers_busy_gauge | Gauge | Plan workers busy gauge |
bamboo_plans_workers_queue_gauge | Gauge | Plan workers queue size gauge |
Queue timeout counter | ||