---
sidebar_label: Prometheus
doc_id: fda9d5b8-4cc2-4091-8565-aaf9adcee493
description: >-
  Configuration schema for connecting to Prometheus monitoring and alerting
  servers with authentication support.
keywords:
  - prometheus
  - monitoring
  - alerting
  - configuration
  - authentication
---

# Prometheus

Prometheus configuration for monitoring and alerting

**Type**: `prometheus`

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|[**server**](#server)<br/>(Server access)|`object`|Connection details required to access the Prometheus server<br/>|yes|

**Additional Properties:** not allowed  
**Example**

```json
{
    "server": {
        "url": "http://prometheus.example.com",
        "password": "password",
        "username": "admin"
    }
}
```

<a name="server"></a>
## server: Server access

Connection details required to access the Prometheus server

**Properties**

|Name|Type|Description|Required|
|----|----|-----------|--------|
|**url**|`string`|The base URL where the Prometheus server is hosted<br/>Minimal Length: `1`<br/>Format: `"uri"`<br/>|yes|
|**password**|`string`|The password associated with the username for server authentication<br/>Minimal Length: `1`<br/>|no|
|**username**|`string`|The username for authenticating with the Prometheus server, if required<br/>Minimal Length: `1`<br/>|no|

**Additional Properties:** not allowed  
**Example**

```json
{
    "url": "http://prometheus.example.com",
    "password": "password",
    "username": "admin"
}
```

