github.com/mackerelio/mackerel-agent-plugins@v0.89.3/mackerel-plugin-redis/README.md (about)

     1  mackerel-plugin-redis
     2  =====================
     3  
     4  Redis custom metrics plugin for mackerel.io agent.
     5  
     6  ## Synopsis
     7  
     8  ```shell
     9  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]
    10  ```
    11  
    12  ## Example of mackerel-agent.conf
    13  
    14  ```
    15  [plugin.metrics.redis]
    16  command = "/path/to/mackerel-plugin-redis -port=6379 -timeout=5"
    17  ```
    18  
    19  ### Using multiple Redis instances on one server
    20  
    21  ```
    22  [plugin.metrics.redis6379]
    23  command = "/path/to/mackerel-plugin-redis -port=6379 -timeout=5 -metric-key-prefix=redis6379"
    24  
    25  [plugin.metrics.redis6380]
    26  command = "/path/to/mackerel-plugin-redis -port=6380 -timeout=5 -metric-key-prefix=redis6380"
    27  ```
    28  
    29  ## References
    30  
    31  - http://redis.io/commands/INFO