---
title: "PE - General Configuration Prometheus Exporter for Bitbucket"
canonical: "https://support.appfire.com/space/PE/14680766/PE%20-%20General%20Configuration%20Prometheus%20Exporter%20for%20Bitbucket"
format: markdown
---
> Macro (aura-html)

Prometheus Exporter for Bitbucket exposes Bitbucket metrics as JVM and application statistics to [Prometheus](https://prometheus.io/).

## Configuring Prometheus Exporter for Bitbucket

When you [download](https://prometheus.io/docs/prometheus/latest/getting_started/#downloading-and-running-prometheus) the Prometheus installation package you can see a sample configuration in the **prometheus.yml **file.  
There are three blocks of configuration in this file: [global, rule_files, and scrape_configs](https://prometheus.io/docs/introduction/first_steps/#configuring-prometheus):

- **Global **controls the Prometheus server's global configuration.
- **Rule_files** specifies the location of any rules that you want the Prometheus server to load.
- **Scrape_configs** controls what resources Prometheus monitors.

 To enable **Prometheus Exporter for Bitbucket** so that it collects metrics and pulls it into **Prometheus**: 

1. Use the following **scrape_configs**:
  **prometheus.yml**
  For a complete specification of configuration options, see the [Prometheus configuration documentation](https://prometheus.io/docs/operating/configuration)<span style="color: #333333">.</span>
2. On the Prometheus **Status >****Targets** page, select the **Prometheus Exporter for Bitbucket** endpoint to get the Prometheus metrics (see [example](#) below).
3. Build any of the available [dashboards](https://grafana.com/dashboards/5249) with the selected metrics.

You can find more information about Prometheus Exporter for Bitbucket Pro [here](https://appfire.atlassian.net/wiki/spaces/PE/pages/14680491/PE+-+Configuring+Prometheus+Exporter+PRO+for+Bitbucket).

You can find more information about Prometheus Exporter for Bitbucket Lite [here](https://appfire.atlassian.net/wiki/spaces/PE/pages/14680672).

## See also

[Using Prometheus Exporter for Bitbucket](https://appfire.atlassian.net/wiki/spaces/PE/pages/14680133)

[PE - Configuring Prometheus Exporter for Bitbucket Data Center](https://appfire.atlassian.net/wiki/spaces/PE/pages/14680744)