prometheus.prometheus.memcached_exporter role – Prometheus memcached_exporter

Note

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

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_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 }}.{{ ansible_system | lower }}-{{ _memcached_exporter_go_ansible_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_config_dir

string

Path to directory with memcached_exporter configuration

Default: "/etc/memcached_exporter"

memcached_exporter_http_server_config

dictionary

Config for HTTP/2 support.

Keys and values are the same as in memcached_exporter docs.

memcached_exporter_local_cache_path

string

Local path to stash the archive and its extraction

Default: "/tmp/memcached_exporter-{{ ansible_system | lower }}-{{ _memcached_exporter_go_ansible_arch }}/{{ memcached_exporter_version }}"

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_address

string

The ip to the memcached server to monitor

Default: ""

memcached_exporter_memcached_pid_file

string

The path to the memcached PID file for process monitoring

Default: ""

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.15.0"

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