Skip to content

Commit

Permalink
fix: removed space before password (#852)
Browse files Browse the repository at this point in the history
Fixes the example ACL SETUSER command
  • Loading branch information
BurningDog authored Nov 13, 2023
1 parent 5f819af commit 1926aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<<<USERNAME>>>` and `<<<PASSWORD>>>` with your desired values.
```
ACL SETUSER <<<USERNAME>>> +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 > <<<PASSWORD>>>
ACL SETUSER <<<USERNAME>>> +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 ><<<PASSWORD>>>
```
Expand Down

0 comments on commit 1926aee

Please sign in to comment.