# Data Connector Prometheus

On the main Data Connectors screen, when clicking the “Add” button, the system will display the screen to connect a new data source to the platform.

For each Data Connector option available on the platform, the system will present some additional fields to be filled in.

When selecting the **Prometheus** option, you will be asked to fill in the following fields:

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2Fy925UIUPxaTkmrmsahMp%2Fimage.png?alt=media&#x26;token=0a257d37-0a26-4475-934c-0782cac03154" alt=""><figcaption></figcaption></figure>

* **Data Connector Identifier Name**: Enter the name that will identify the data source that will be connected
* **Select the secret for this data connector**: Select the secret you want to use from the registered options. We will use this secret to connect to the service.
* **Metric Type**: Select the metric to be used from the available options
* **Endpoint**: Enter the endpoint that will be used to connect to the data source
* **Aggregation**: Select the type of aggregator that will be used among the available options (Sum, Average, Minimum and Maximum).

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FpfXROkHrSzm15qkmyZmc%2Fimage.png?alt=media&#x26;token=d0c6a94c-a65e-43cf-b437-33f80fceb892" alt=""><figcaption></figcaption></figure>

* **Metric Type**: Select the metric type from the available options (Pod and Node).

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FtUc1ESiQ06rTtIVVlCLV%2Fimage.png?alt=media&#x26;token=abe11242-e316-4b5a-bcec-e15c8666e45b" alt=""><figcaption></figcaption></figure>

* **Property**: Enter the property that will be used.

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FXEzX5OilNtYpaA6Dz65t%2Fimage.png?alt=media&#x26;token=33c06452-e6c6-423d-86bc-cba7b2648de2" alt=""><figcaption></figcaption></figure>

* **Metric Value**: Enter the metric value that will be used.

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FDvkxlqtCswVaWmO8DOKM%2Fimage.png?alt=media&#x26;token=2f0b050d-589f-4af2-b910-81eb88a437a5" alt=""><figcaption></figcaption></figure>

* **Alias**: Insert the Alias ​​or name that will be referenced in the metric.

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FMrjlcW34lXgtuutqeKPF%2Fimage.png?alt=media&#x26;token=db3f9413-a8f8-403a-8a91-8a1af6c08468" alt=""><figcaption></figcaption></figure>

When filling in the information and clicking the add button, the expression will be displayed as in the report below:

<figure><img src="https://1687673077-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9sinLUl52lDK1vg6b8g%2Fuploads%2FCO23mdlqFPNNFS4O0eLo%2Fimage.png?alt=media&#x26;token=7f1d9ed2-a176-4691-bc5c-5030325e5a7a" alt=""><figcaption></figcaption></figure>
