# Prometheus

Prometheus is required when operating Bindplane in high availability.

Bindplane stores time series metrics in [Prometheus](https://prometheus.io/docs/prometheus/latest/storage/). These time series metrics allow Bindplane to track collector throughput measurements over time. When viewing the summary page or a specific configuration, the measurement data being displayed is the work of the measurement database.

When operating Bindplane in single instance mode, a bundled version of Prometheus will be used. The user does not need to install or configure Prometheus.

### Prerequisites

#### Sizing

Prometheus can be scaled vertically based on the number of managed collectors. The volume of time series metrics being pushed to Prometheus will scale linearly with the number of collectors.

The following table provides a general guideline for sizing your Prometheus instance based on the number of collectors. This table should service as a starting point for sizing your Prometheus instance.

<table><thead><tr><th width="364.875">Collector Count</th><th>CPU Cores</th><th>Memory</th><th width="122.37890625">Disk (GB)</th></tr></thead><tbody><tr><td>1-25,000</td><td>2</td><td>8GB</td><td>80</td></tr><tr><td>25,000-250,000</td><td>4</td><td>16GB</td><td>300</td></tr><tr><td>250,000-500,000</td><td>8</td><td>32GB</td><td>600</td></tr><tr><td>500,000-1,000,000</td><td>16</td><td>64GB</td><td>1200</td></tr></tbody></table>

{% hint style="info" %}
**NOTE**

Complicated configurations with many sources, processor nodes, and destinations will output more time series metrics.
{% endhint %}

### Installation

Prometheus should be installed on a dedicated system. The installation will be accessed by each Bindplane server in your environment.

Follow the [installation](/production-checklist/bindplane/high-availability/prometheus/installation.md) documentation for instructions for deploying a shared Prometheus instance.

### Configuration

Bindplane will use a bundled version of Prometheus by default. The configuration must be updated\
to use a remote Prometheus instance. See the [configuration](/production-checklist/bindplane/high-availability/prometheus/configuration.md) documentation for instructions on configuring your Bindplane servers to use the shared Prometheus instance.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bindplane.com/production-checklist/bindplane/high-availability/prometheus.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
