From 2d00775311f36c09e3061f0b9ffdf166c5c708d6 Mon Sep 17 00:00:00 2001 From: Curtis Robert Date: Fri, 21 Jun 2024 10:55:15 -0700 Subject: [PATCH] [chore][receiver/redis] Update username/password README description (#33710) A recent issued brought up that the `username` config option is available, but not documented in the README. The `password` option is described in the README, but doesn't include information relevant for Redis >= 6.0. This adds information on both config options. Fixes https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33707 --- receiver/redisreceiver/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/receiver/redisreceiver/README.md b/receiver/redisreceiver/README.md index 943206521198..1d54dda359e9 100644 --- a/receiver/redisreceiver/README.md +++ b/receiver/redisreceiver/README.md @@ -61,9 +61,10 @@ next consumer. The `collection_interval` configuration option tells this receiver the duration between runs. This value must be a string readable by Golang's `ParseDuration` function (example: `1h30m`). Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. +- `username` (no default): Client username used to connect to a Redis >=6.0 instance that is using the Redis ACL system. - `password` (no default): The password used to access the Redis instance; -must match the password specified in the `requirepass` server configuration -option. +must match the password specified in the `requirepass` server configuration option in Redis <6.0. +For Redis >=6.0, the user's password when connecting using the Redis ACL system. - `transport` (default = `tcp`) Defines the network to use for connecting to the server. Valid Values are `tcp` or `Unix` - `tls`: - `insecure` (default = true): whether to disable client transport security for the exporter's connection.