From 1926aeea3ef3285a9dc16b803687931932d7c1c3 Mon Sep 17 00:00:00 2001 From: Roger Saner Date: Mon, 13 Nov 2023 03:00:04 +0200 Subject: [PATCH] fix: removed space before password (#852) Fixes the example ACL SETUSER command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3477c547..1969fa11 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ Alternatively, you can provide the username and/or password using the `--redis.u If you want to use a dedicated Redis user for the redis_exporter (instead of the default user) then you need enable a list of commands for that user. You can use the following Redis command to set up the user, just replace `<<>>` and `<<>>` with your desired values. ``` -ACL SETUSER <<>> +client +ping +info +config|get +cluster|info +slowlog +latency +memory +select +get +scan +xinfo +type +pfcount +strlen +llen +scard +zcard +hlen +xlen +eval allkeys on > <<>> +ACL SETUSER <<>> +client +ping +info +config|get +cluster|info +slowlog +latency +memory +select +get +scan +xinfo +type +pfcount +strlen +llen +scard +zcard +hlen +xlen +eval allkeys on ><<>> ```