Skip to content

Commit 192d292

Browse files
committed
update readme
1 parent 4d85e11 commit 192d292

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
Role Name
2+
=========
3+
4+
Ansible role for provision a Redis exporter for Prometheus.
5+
6+
Requirements
7+
------------
8+
9+
Ansible version >= 2.9
10+
11+
Role Variables
12+
--------------
13+
14+
```yaml
15+
redis_exporter_version: 1.3.5
16+
redis_exporter_binary_local_dir: ""
17+
redis_exporter_web_listen_address: "0.0.0.0:9121"
18+
redis_exporter_web_telemetry_path: "/metrics"
19+
20+
redis_exporter_system_group: "redis-exp"
21+
redis_exporter_system_user: "{{ redis_exporter_system_group }}"
22+
23+
redis_exporter_redis_address: "redis://localhost:6379"
24+
redis_exporter_redis_password: ""
25+
redis_exporter_redis_namespace: "redis"
26+
27+
redis_exporter_custom_option: "-redis-only-metrics"
28+
```
29+
30+
Dependencies
31+
------------
32+
33+
None
34+
35+
Example Playbook
36+
----------------
37+
38+
```yaml
39+
- hosts: servers
40+
gather_facts: true
41+
roles:
42+
- be99inner.redis-exporter
43+
```
44+
45+
License
46+
-------
47+
48+
MIT
49+
50+
Author Information
51+
------------------
52+
53+
be99inner

0 commit comments

Comments
 (0)