Monitoring configuration parameters

To configure the service, use the following configuration parameters in ADCM.

NOTE
  • Some of the parameters become visible in the ADCM UI after the Advanced flag has been set.

  • The parameters that are set in the Custom group will overwrite the existing parameters even if they are read-only.

Prometheus settings
Parameter Description Default value

scrape_interval

Specifies how frequently to scrape targets

1m

scrape_timeout

Specifies how long to wait until a scrape request times out

10s

Password for Grafana connection

Password of a Grafana user to connect to Prometheus

 — 

Prometheus users to login/logout to Prometheus

User credentials for logging into the Prometheus web interface

 — 

Service parameters
Parameter Description Default value

config.file

Path to the main Prometheus configuration file, which defines scrape jobs, alerting rules, and other settings

/etc/admprom/prometheus/prometheus.yml

storage.tsdb.path

Directory where Prometheus stores its time series database (TSDB) files

/var/lib/admprom/prometheus

web.console.libraries

Location of console library files used for rendering the Prometheus UI consoles

/usr/share/admprom/prometheus/console_libraries

web.console.templates

Directory containing console templates for the Prometheus UI

/usr/share/admprom/prometheus/consoles

web.config.file

Path to the web configuration file, used for authentication, TLS, and other web server settings

/etc/admprom/prometheus/prometheus-auth.yml

storage.tsdb.retention.time

Defines how long to retain data in the time series database before deletion

15d

web.listen-address

IP address and port where the Prometheus web interface and API listen for incoming connections

0.0.0.0:11200

Grafana settings
Parameter Description Default value

Grafana administrator’s password

Password of a Grafana administrator user

 — 

Grafana listen port

Port to access the Grafana web interface

11210

Node Exporter settings
Parameter Description Default value

Listen port

Port to listen for a host’s system metrics in the Prometheus format

11203

Metrics endpoint

Endpoint to retrieve system metrics

/metrics

SSL configuration
Parameter Description Default value

[Prometheus] → Enable SSL

Defines whether SSL is enabled for Prometheus

false

[Prometheus] → Certificate file

Path to the Prometheus server SSL certificate file in the PEM format

/etc/admprom/prometheus/server.crt

[Prometheus] → Private key file

Path to the private key file of the Prometheus server SSL certificate

/etc/admprom/prometheus/server.key

[Prometheus] → Certificate authority file

Path to the certificate authority file

/etc/admprom/prometheus/ca.crt

[Grafana] → Enable SSL

Defines whether SSL is enabled for Grafana

false

[Grafana] → Certificate file

Path to the Grafana server SSL certificate file in the PEM format

/etc/admprom/grafana/server.crt

[Grafana] → Private key file

Path to the private key file of the Grafana server SSL certificate

/etc/admprom/grafana/server.key

[Grafana] → Certificate authority file

Path to the certificate authority file

/etc/admprom/grafana/ca.crt

[Node-exporter] → Enable SSL

Defines whether SSL is enabled for Node Exporter

false

[Node-exporter] → Certificate file

Path to the Node Exporter server SSL certificate file in the PEM format

/etc/ssl/server.crt

[Node-exporter] → Private key file

Path to the private key file of the Node Exporter server SSL certificate

/etc/ssl/server.key

Set SSL rights for certs/key

Enables changing the owner and permissions of the SSL certificate and key files

false

Scrape config for statsd (statsd_scraper.yml)
Parameter Description Default value

job_name

The name of the job within which metrics will be collected

statsd_exporter

scrape_interval

Specifies how frequently to scrape targets

5s

scrape_timeout

Specifies how long to wait until a scrape request times out. Cannot be greater than the value of the scrape_interval parameter

 — 

Scrape config for Flower (flower_scraper.yml)
Parameter Description Default value

job_name

The name of the job within which metrics will be collected

flower_exporter

scrape_interval

Specifies how frequently to scrape targets

5s

scrape_timeout

Specifies how long to wait until a scrape request times out. Cannot be greater than the value of the scrape_interval parameter

 — 

Statsd-exporter component configuration
Mapping config
Parameter Description Default value

Mapping config

Airflow StatsD metrics mapping

 — 

statsd-options.env
Parameter Description Default value

web.listen-address

Port where the Prometheus web interface and metrics are displayed

9102

statsd.mapping-config

The name of the metrics mapping configuration file

/etc/statsd-exporter/conf/statsd-mapping.yml

statsd.listen-udp

The UDP port on which to receive statsd metric lines. Filled from the statsd_port parameter in airflow.cfg [metrics]

8125

web.enable-lifecycle

Enables shutdown and reload via HTTP request

true

statsd.cache-size

Maximum size of the metric mapping cache. If max size is reached, the service will rely on the least recently used replacement policy

 — 

statsd.listen-tcp

The TCP port on which to receive statsd metric lines. Leave the value empty to disable it

 — 

web.telemetry-path

Path under which to expose metrics

 — 

statsd.listen-unixgram

The Unixgram socket path to receive statsd metric lines in datagram. Leave the value empty to disable it

 — 

statsd.unixsocket-mode

The permission mode of the Unix socket

 — 

statsd.read-buffer

The size (in bytes) of the operating system’s transmit read buffer associated with the UDP or Unixgram connection. Ensure that the net.core.rmem_max kernel parameter is greater than this value

 — 

statsd.cache-type

Metric mapping cache type. Valid options are lru (least recently used) and random

 — 

statsd.event-queue-size

The size of internal queue for processing events

 — 

statsd.event-flush-threshold

The number of events to hold in the queue before flushing

 — 

statsd.event-flush-interval

Maximum time between event queue flushes

 — 

debug.dump-fsm

The path where to dump internal FSM generated for glob matching (as a Dot file)

 — 

statsd.parse-dogstatsd-tags

Indicates whether to parse DogStatsd style tags

true

statsd.parse-influxdb-tags

Indicates whether to parse InfluxDB style tags

true

statsd.parse-librato-tags

Indicates whether to parse Librato style tags

true

statsd.parse-signalfx-tags

Indicates whether to parse SignalFX style tags

true

statsd.relay.address

The UDP relay target address in the <host:port> format

 — 

statsd.relay.packet-length

Maximum relay output packet length to avoid fragmentation

 — 

statsd.udp-packet-queue-size

Size of internal queue for processing UDP packets

 — 

log.level

The logging level. Supported values: debug, info, warn, error

 — 

log.format

The output format of logs. Supported values: logfmt, json

 — 

Custom statsd-options.env

This field enables adding custom parameters to the statsd-options.env configuration file

 — 

Found a mistake? Seleсt text and press Ctrl+Enter to report it