Skip to content

prometheus

Whether to enable Prometheus monitoring system.

Type: boolean

Default:

false

Example:

true

Declared by:

Which package of Prometheus to use

Type: package

Default:

pkgs.prometheus

Declared by:

Storage configuration

Type: attribute set

Default:

{ }

Declared by:

TSDB configuration

Type: attribute set

Default:

{ }

Declared by:

Alerting configuration

Type: null or (attribute set)

Default:

null

Declared by:

services.prometheus.experimentalFeatures.enableExemplars

Section titled “services.prometheus.experimentalFeatures.enableExemplars”

Enable exemplar storage

Type: boolean

Default:

false

Declared by:

services.prometheus.experimentalFeatures.enableOTLP

Section titled “services.prometheus.experimentalFeatures.enableOTLP”

Enable OTLP receiver

Type: boolean

Default:

false

Declared by:

services.prometheus.experimentalFeatures.enableTracing

Section titled “services.prometheus.experimentalFeatures.enableTracing”

Enable tracing

Type: boolean

Default:

false

Declared by:

Additional arguments to pass to Prometheus

Type: string

Default:

""

Declared by:

Global Prometheus configuration

Type: attribute set

Default:

{
evaluation_interval = "1m";
scrape_interval = "1m";
scrape_timeout = "10s";
}

Declared by:

Port for Prometheus web interface.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default:

9090

Declared by:

Remote read configurations

Type: list of (attribute set)

Default:

[ ]

Declared by:

Remote write configurations

Type: list of (attribute set)

Default:

[ ]

Declared by:

List of rule files to load

Type: list of string

Default:

[ ]

Declared by:

List of scrape configurations

Type: list of (attribute set)

Default:

[ ]

Declared by:

Path where Prometheus will store its database

Type: string

Default:

${config.devenv.state}/prometheus

Declared by:

How long to retain data

Type: string

Default:

"15d"

Declared by: