---
title: "PE - Using Prometheus Exporter for Bamboo"
canonical: "https://support.appfire.com/space/PE/14680105/PE%20-%20Using%20Prometheus%20Exporter%20for%20Bamboo"
format: markdown
---
> Macro (aura-html)

Once you [configure your Prometheus Exporter app](https://anovaapps.atlassian.net/wiki/spaces/PE/pages/1117782444/PE+-+General+Configuration+Prometheus+Exporter+for+Bamboo), you can expose the following metrics into Prometheus:

- <span style="color: #003366">[JVM metrics](#JVM-metrics)</span>
- <span style="color: #003366">[Agent metrics](#Agent-metrics)</span>
- [Application statistics](#Application-statistics)
- [Builds statistics](#Builds-statistics)
- [Plan statistics](#Plan-statistics)
- [Deploy statistics](#Deploy-statistics)
- [License metrics](#License-metrics)
- [Workers statistics](#Workers-statistics)
- [Queue timeout counter](#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](https://appfire.atlassian.net/wiki/spaces/PE/pages/14680629/PE+-+Using+Prometheus+Exporter+for+Jira#PE-UsingPrometheusExporterforJira-JVMMetrics-seeexamplesbelow).<br>See [JVM examples](https://appfire.atlassian.net/wiki/pages/resumedraft.action?draftId=14680105#PE-UsingPrometheusExporterforBamboo-JVMmetricsexamples) below. |
| #### **Agent metrics** |
| <span style="color: #032f62">bamboo_all_agents_gauge</span> | Gauge | All agents gauge |
| <span style="color: #032f62">bamboo_active_agents_gauge</span> | Gauge | Active agents gauge |
| <span style="color: #032f62">bamboo_busy_agents_gauge</span> | Gauge | Busy agents gauge |
| #### **Application statistics** |
| <span style="color: #032f62">bamboo_error_count</span> | 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** |
| <span style="color: #032f62">bamboo_finished_build_count</span> | Counter | <span style="color: #032f62">Finished builds count. See </span><span style="color: #032f62">[example](https://appfire.atlassian.net/wiki/pages/resumedraft.action?draftId=14680105#PE-UsingPrometheusExporterforBamboo-Buildsexample)</span><span style="color: #032f62"> below.</span> |
| <span style="color: #032f62">bamboo_canceled_build_count</span> | Counter | <span style="color: #032f62">Canceled builds count</span> |
| <span style="color: #032f62">bamboo_build_queue_timeout_count</span> | Counter | <span style="color: #032f62">Build queue timeout count</span> |
| #### **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 | 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** |
| <span style="color: #032f62">bamboo_finished_deploys_count</span> | Counter | <span style="color: #032f62">Finished deploys count</span> |
| #### **License metrics** |
| <span style="color: #032f62">bamboo_maintenance_expiry_days_gauge</span> | Gauge | <span style="color: #032f62">Maintenance expiry days gauge</span> |
| <span style="color: #032f62">bamboo_license_expiry_days_gauge</span> | Gauge | <span style="color: #032f62">License expiry days gauge</span> |
| <span style="color: #032f62">bamboo_allowed_users_gauge</span> | Gauge | <span style="color: #032f62">Allowed users gauge</span> |
| #### **Workers statistics** |
| <span style="color: #032f62">bamboo_plans_workers_idle_gauge</span> | Gauge | <span style="color: #032f62">Plan workers idle gauge</span> |
| <span style="color: #032f62">bamboo_plans_workers_busy_gauge</span> | Gauge | <span style="color: #032f62">Plan workers busy gauge</span> |
| <span style="color: #032f62">bamboo_plans_workers_queue_gauge</span> | Gauge | <span style="color: #032f62">Plan workers queue size gauge</span> |
| #### **Queue timeout counter** |
|  |  |  |

###   
JVM metrics examples

<details>
<summary>JVM threads</summary>

![image]()
</details>


<details>
<summary>Memory usage</summary>

![image]()
</details>


### Builds example

<details>
<summary>Successful builds</summary>

![image]()
</details>


## See also

[Configuring Prometheus Exporter for Bamboo](https://appfire.atlassian.net/wiki/spaces/PE/pages/14680420)