Ansible role for Memcached
Go to file
Jakub Sokołowski 3e2259b699
meta: use full names of Ansible roles
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-13 16:27:54 +01:00
defaults rename memcached_exporter to memcached-exporter 2021-04-28 09:15:28 +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 rename memcached_exporter to memcached-exporter 2021-04-28 09:15:28 +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