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

  


> ℹ️ Starting with version 3.0.0-jira8 for Prometheus Exporter PRO, you are able to see and manage collected metrics in the app configuration.

<span style="color: #333333">Go to </span><span style="color: #333333">**Administration**</span><span style="color: #333333"> → </span><span style="color: #333333">**Manage apps**</span><span style="color: #333333"> → </span><span style="color: #333333">**Prometheus Exporter**</span><span style="color: #333333"> → </span><span style="color: #333333">**Metrics **</span><span style="color: #333333">and select which metrics must be collected and how (in real-time or by a scheduled job), see the last execution date and how long metrics were executed.</span>

![image](media://c91079e0-4540-494b-b4c4-a25d428f32a1)

Once you [configure your Prometheus Exporter](https://anovaapps.atlassian.net/wiki/spaces/PE/pages/1206321904/PE+-+Configuring+Prometheus+Exporters+for+Confluence), you can expose the following metrics into Prometheus.

### Metrics description

| Metrics | Type | Description |
| --- | --- | --- |
| #### <span style="color: #172b4d">Request Duration Prometheus Metrics Module</span> |
| confluence_request_duration_on_path | Histogram | Shows <span style="color: #172b4d">how long requests were executed on the server. It does not take into consideration the browser execution and network execution time</span>. Read more [here](https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/jira/instrumentation/RequestData.html). |
| #### <span style="color: #172b4d">Confluence JMX Metrics Module</span> |
| confluence_jmx_indexstat_flushing | <span style="color: #333333">Gauge</span> | Indicates whether the cache is currently flushing |
| confluence_jmx_indexstat_last_duration | <span style="color: #333333">Counter</span> | Time taken during last indexing (ms) |
| confluence_jmx_indexstat_task_queue | <span style="color: #333333">Counter</span> | Shows number of tasks in the queue |
| confluence_jmx_indexstat_reindexing | <span style="color: #333333">Gauge</span> | Indicates whether Confluence is currently reindexing |
| confluence_jmx_systemstat_db_latency | <span style="color: #333333">Counter</span> | Shows the latency of an example query performed against the database |
| confluence_jmx_request_avg_exectime_of_ten_requests | <span style="color: #333333">Counter</span> | Average execution time for the last ten requests |
| confluence_jmx_request_current_served_number | <span style="color: #333333">Counter</span> | Number of requests being served at this instant |
| confluence_jmx_request_errorpage_count | <span style="color: #333333">Counter</span> | Number of times the Confluence error page was served |
| confluence_jmx_request_num_in_last_ten_seconds | <span style="color: #333333">Counter</span> | The number of requests in the last ten seconds |
| confluence_jmx_emails_attempted_count | <span style="color: #333333">Counter</span> | The number of email messages Confluence has tried to send. <span style="color: #333333">for each mail server added in Confluence. This metric has a label called mailservername (only for Data Center from v.1.0.26)</span> |
| confluence_jmx_emails_sent_count | <span style="color: #333333">Counter</span> | The number of email messages sent successfully<span style="color: #333333"> for each mail server added in Confluence. This metric has a label called mailservername (only for Data Center from v.1.0.26)</span> |
| confluence_jmx_mail_queue_error_queue_size | <span style="color: #333333">Gauge</span> | Number of errors in the queue <span style="color: #333333">(only for Data Center from v.1.0.26)</span> |
| confluence_jmx_mail_queue_flushing | <span style="color: #333333">Gauge</span> | Shows state (i.e. flushing, or not) <span style="color: #333333">(only for Data Center from v.1.0.26)</span> |
| confluence_jmx_mail_queue_retry_count | <span style="color: #333333">Gauge</span> | The number of retries that were performed <span style="color: #333333">(only for Data Center from v.1.0.26)</span> |
| confluence_jmx_mail_queue_tasks_size | <span style="color: #333333">Gauge</span> | Number of email messages queued for dispatch <span style="color: #333333">(only for Data Center from v.1.0.26)</span> |
| jvm_uptime_gauge | <span style="color: #333333">Gauge</span> | JVM Uptime Gauge |
| #### <span style="color: #172b4d">Confluence System Metrics Module</span> |
| confluence_maintenance_expiry_days_gauge | <span style="color: #333333">Gauge</span> | Maintenance Expiry Days Gauge |
| confluence_license_expiry_days_gauge | <span style="color: #333333">Gauge</span> | License Expiry Days Gauge (<span style="color: #333333">since version 1.0.21)</span> |
| confluence_total_cluster_nodes_gauge | <span style="color: #333333">Gauge</span> | Total Cluster Nodes Gauge |
| confluence_cluster_panic_count | <span style="color: #333333">Counter</span> | Cluster Panic Count |
| confluence_plugin_enabled_count | <span style="color: #333333">Counter</span> | Plugin Enabled Count |
| confluence_plugin_disabled_count | <span style="color: #333333">Counter</span> | Plugin Disabled Count |
| confluence_plugin_install_count | <span style="color: #333333">Counter</span> | Plugin Install Count |
| confluence_plugin_uninstall_count | <span style="color: #333333">Counter</span> | Plugin Uninstall Count |
| #### <span style="color: #172b4d">Confluence User Metrics Module</span> |
| confluence_active_users_gauge | <span style="color: #333333">Gauge</span> | Active Users Gauge |
| confluence_one_hour_active_users_gauge | <span style="color: #333333">Gauge</span> | The total number of logins within the last hour |
| confluence_today_active_users_gauge | <span style="color: #333333">Gauge</span> | Users Login Today Gauge |
| confluence_allowed_users_gauge | <span style="color: #333333">Gauge</span> | Allowed Users Gauge |
| confluence_user_logout_count | Counter | User Logout Count |
| confluence_user_login_count | Counter | User Login Count. <span style="color: #091e42">See </span>[example](https://anovaapps.atlassian.net/wiki/spaces/PE/pages/1117782845/PE+-+Using+Prometheus+Exporter+for+Confluence#PE-UsingPrometheusExporterforConfluence-Login/logoutstatisticsexample)<span style="color: #091e42"> below.</span> |
| confluence_user_failed_login_count | Counter | User Failed Login Count |
| #### <span style="color: #172b4d">Confluence Entity Metrics Module</span> |
| confluence_total_attachment_size_gauge | <span style="color: #333333">Gauge</span> | Total Attachments Size Gauge |
| confluence_current_contents_gauge | <span style="color: #333333">Gauge</span> | Current Contents Gauge |
| confluence_global_spaces_gauge | <span style="color: #333333">Gauge</span> | Global Spaces Gauge |
| confluence_personal_spaces_gauge | <span style="color: #333333">Gauge</span> | Personal Spaces Gauge |
| confluence_pages_gauge | <span style="color: #333333">Gauge</span> | Total Pages Gauge |
| confluence_blogposts_gauge | <span style="color: #333333">Gauge</span> | Total BlogPosts Gauge |
| confluence_label_create_count | Counter | Label Create Count |
| confluence_label_add_count | Counter | Label Add Count |
| confluence_label_remove_count | Counter | Label Remove Count |
| confluence_label_delete_count | Counter | Label Delete Count |
| confluence_space_create_count | Counter | Space Create Count |
| confluence_space_delete_count | Counter | Space Delete Count |
| #### <span style="color: #172b4d">Confluence Mail Metrics Module</span> |
| confluence_mail_queue_gauge | <span style="color: #333333">Gauge</span> | Current Mail Queue Gauge |
| confluence_mail_queue_errors_gauge | <span style="color: #333333">Gauge</span> | Current Mail Queue Errors Gauge |

On top of predefined metrics within Prometheus Exporter PRO for Confluence there is an option to add custom metrics by creating your own app. For more details refer to the [following detailed guide](https://anovaapps.atlassian.net/wiki/spaces/PE/pages/1200062693/PE+-+Adding+Custom+Metrics+in+Prometheus+Exporter+PRO+for+Jira). Creating app for Confluence is similar to creating app for Jira.

### <span style="color: #ff0066">JVM metrics examples</span>

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

![image]()
</details>

  


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

![image]()
</details>

  


### Login / logout statistics example

<details>
<summary>Login count</summary>

![image]()
</details>

##   
What's next

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