add redis-exporter for maat-redis.

This commit is contained in:
fumingwei
2020-11-21 17:06:40 +06:00
parent c6a1f9fdaa
commit b73dc0a16f
5 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Redis Exporter for MAAT-REDIS
After=network.target
[Service]
ExecStart=/usr/bin/redis_exporter -redis.addr=redis://localhost:7002 -redis-only-metrics
Type=simple
[Install]
WantedBy=multi-user.target