You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| host | Yes | The hostname or IP address of the server where Redis is running. | N/A |
97
-
| port | Yes | The port number to connect to on the server. | N/A |
96
+
| host | Yes | The hostname or IP address of the server where Redis is running. | N/A |
97
+
| port | Yes | The port number to connect to on the server. | N/A |
98
98
| user | No | The username to use for authentication of the ACLs to the Redis Server | default |
99
-
| password | No | The password to Redis. | N/A |
100
-
| db | No | The db number to user. NOTE - use of the db number is considered an anti-pattern in Redis, so it is advised that you do not use this option | 0 |
101
-
| connect_timeout | No | The maximum time, in milliseconds to wait for a connection to be established to Redis. 0 means wait forever | 0 |
102
-
| socket_timeout | No | The maximum time, in milliseconds the client will wait for a response from Redis. 0 means wait forever | 0 |
103
-
| pool_size | No | The number pooled connections to Redis the client will maintain. | 1 |
104
-
| wait_timeout | No | The maximum time, in milliseconds to wait for a connection from the pool. |100|
99
+
| password | No | The password to Redis. | N/A |
100
+
| db | No | The db number to user. NOTE - use of the db number is considered an anti-pattern in Redis, so it is advised that you do not use this option | 0 |
101
+
| connect_timeout | No | The maximum time, in milliseconds to wait for a connection to be established to Redis. 0 means wait forever | 0 |
102
+
| socket_timeout | No | The maximum time, in milliseconds the client will wait for a response from Redis. 0 means wait forever | 0 |
103
+
| pool_size | No | The number pooled connections to Redis the client will maintain. | 1 |
104
+
| wait_timeout | No | The maximum time, in milliseconds to wait for a connection from the pool. |1000 |
105
105
106
106
107
+
### Optional Environment Variables for Credentials
108
+
109
+
Optionally you may configure your `user`/`password` via environment variables. The corresponding `user` environment variable is `TRITONCACHE_REDIS_USERNAME` whereas the corresponding `password` environment variable is `TRITONCACHE_REDIS_PASSWORD`.
110
+
107
111
## Monitoring and Observability
108
112
109
113
There are many ways to go about monitoring what's going on in Redis. One popular mode is to export metrics data from Redis to Prometheus, and use Grafana to observe them.
0 commit comments