Ansible role for Memcached
Go to file
Jakub Sokołowski 2d1cb3eefc
config: add support for --listen-backlog flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-10 19:09:34 +02:00
defaults config: add support for --listen-backlog flag 2024-07-10 19:09:34 +02:00
handlers add missing enabled:true for memcached services 2021-05-04 18:09:27 +02:00
meta meta: use full names of Ansible roles 2024-03-13 16:27:54 +01:00
tasks meta: use full names of Ansible roles 2024-03-13 16:27:54 +01:00
templates config: add support for --listen-backlog flag 2024-07-10 19:09:34 +02:00
README.md add memcached_exporter (#1) 2021-02-26 15:15:08 +01:00

README.md

Description

This role installs and configures memcached and memcached_exporter services.

The exporter is available on port 9150 and the prometheus metrics can be fetched via the /metrics http endpoint:

curl 0.0.0.0:9150/metrics

Configuration

The defaults are sane, but the basics would be:

memcached_addr: '127.0.0.1'
memcached_port: 11211
memcached_size_mb: 64
memcached_maxconn: 1024

The installation of memcached_exporter is optional. It is installed by default but can be disabled by setting:

memcached_exporter_enabled: false