Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 845 Bytes

File metadata and controls

31 lines (21 loc) · 845 Bytes

mackerel-plugin-redis

Redis custom metrics plugin for mackerel.io agent.

Synopsis

mackerel-plugin-redis [-host=<hostname>] [-port=<port>] [-username=<username>] [-password=<password>] [-socket=<unix socket>] [-timeout=<time>] [-metric-key-prefix=<prefix>] [-config-command=<CONFIG command name>] [-tls] [-tls-skip-verify]

Example of mackerel-agent.conf

[plugin.metrics.redis]
command = "/path/to/mackerel-plugin-redis -port=6379 -timeout=5"

Using multiple Redis instances on one server

[plugin.metrics.redis6379]
command = "/path/to/mackerel-plugin-redis -port=6379 -timeout=5 -metric-key-prefix=redis6379"

[plugin.metrics.redis6380]
command = "/path/to/mackerel-plugin-redis -port=6380 -timeout=5 -metric-key-prefix=redis6380"

References