prometheus.prometheus.memcached_exporter role – Prometheus memcached_exporter

Note

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

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

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

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

Entry point main – Prometheus memcached_exporter

Synopsis

Parameters

Parameter

Comments

memcached_exporter_basic_auth_users

dictionary

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

memcached_exporter_binary_install_dir

string

Advanced

Directory to install memcached_exporter binary

Default: "/usr/local/bin"

memcached_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 memcached_exporter binary is stored on the host where ansible is run.

This overrides the memcached_exporter_version parameter

memcached_exporter_binary_url

string

URL of the memcached_exporter binaries .tar.gz file

Default: "https://github.com/{{ _memcached_exporter_repo }}/releases/download/v{{ memcached_exporter_version }}/memcached_exporter-{{ memcached_exporter_version }}.linux-{{ go_arch }}.tar.gz"

memcached_exporter_checksums_url

string

URL of the memcached_exporter checksums file

Default: "https://github.com/{{ _memcached_exporter_repo }}/releases/download/v{{ memcached_exporter_version }}/sha256sums.txt"

memcached_exporter_http_server_config

dictionary

Config for HTTP/2 support.

Keys and values are the same as in memcached_exporter docs.

memcached_exporter_log_format

string

Output format of log messages. One of: [logfmt, json]

Default: "logfmt"

memcached_exporter_log_level

string

Only log messages with the given severity or above. One of: [debug, info, warn, error]

Default: "info"

memcached_exporter_memcached_pid_file

string

The path to the memcached PID file for process monitoring

Default: ""

memcached_exporter_skip_install

boolean

memcached_exporter installation tasks gets skipped when set to true.

Choices:

  • false ← (default)

  • true

memcached_exporter_system_group

string

Advanced

System group for memcached_exporter

Default: "memcached-exp"

memcached_exporter_system_user

string

Advanced

memcached_exporter user

Default: "memcached-exp"

memcached_exporter_tls_server_config

dictionary

Configuration for TLS authentication.

Keys and values are the same as in memcached_exporter docs.

memcached_exporter_version

string

memcached_exporter package version. Also accepts latest as parameter.

Default: "0.14.2"

memcached_exporter_web_listen_address

string

Address on which memcached exporter will listen

Default: "0.0.0.0:9150"

memcached_exporter_web_telemetry_path

string

Path under which to expose metrics

Default: "/metrics"

Authors

  • Prometheus Community