prometheus.prometheus.chrony_exporter role – Prometheus Chrony Exporter

Note

This role is part of the prometheus.prometheus collection (version 0.6.0).

To install it use: ansible-galaxy collection install prometheus.prometheus.

To use it in a playbook, specify: prometheus.prometheus.chrony_exporter.

Entry point main – Prometheus Chrony Exporter

Synopsis

Parameters

Parameter

Comments

chrony_exporter_basic_auth_users

dictionary

Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt.

chrony_exporter_binary_install_dir

string

Advanced

Directory to install chrony_exporter binary

Default: "/usr/local/bin"

chrony_exporter_binary_local_dir

string

Enables the use of local packages instead of those distributed on github.

The parameter may be set to a directory where the chrony_exporter binary is stored on the host where ansible is run.

This overrides the chrony_exporter_version parameter

chrony_exporter_binary_url

string

URL of the chrony_exporter binaries .tar.gz file

Default: "https://github.com/{{ _chrony_exporter_repo }}/releases/download/v{{ chrony_exporter_version }}/chrony_exporter-{{ chrony_exporter_version }}.linux-{{ go_arch }}.tar.gz"

chrony_exporter_checksums_url

string

URL of the chrony_exporter checksums file

Default: "https://github.com/{{ _chrony_exporter_repo }}/releases/download/v{{ chrony_exporter_version }}/sha256sums.txt"

chrony_exporter_disabled_collectors

list / elements=string

List of disabled collectors.

By default chrony_exporter disables collectors listed here.

chrony_exporter_enabled_collectors

list / elements=string

List of dicts defining additionally enabled collectors and their configuration.

It adds collectors to those enabled by default.

Default: ["tracking"]

chrony_exporter_http_server_config

dictionary

Config for HTTP/2 support.

Keys and values are the same as in chrony_exporter docs.

chrony_exporter_skip_install

boolean

Chrony exporter installation tasks gets skipped when set to true.

Choices:

  • false ← (default)

  • true

chrony_exporter_system_group

string

Advanced

System group for chrony_exporter

Default: "chrony-exp"

chrony_exporter_system_user

string

Advanced

Chrony exporter user

Default: "chrony-exp"

chrony_exporter_tls_server_config

dictionary

Configuration for TLS authentication.

Keys and values are the same as in chrony_exporter docs.

chrony_exporter_version

string

Chrony exporter package version. Also accepts latest as parameter.

Default: "1.6.0"

chrony_exporter_web_listen_address

string

Address on which chrony_exporter will listen

Default: "0.0.0.0:9123"

chrony_exporter_web_telemetry_path

string

Path under which to expose metrics

Default: "/metrics"

Authors

  • Prometheus Community