Configuring Multiple Redis Clusters

#1

Is it possible to have more than 1 Redis cluster for Sentry’s use? For example, 1 instance for the Time Series DB and another separate instance for everything else?
In this file here (https://github.com/getsentry/docker-sentry/blob/master/9.1/config.yml) there’s a default Redis cluster defined like so,

# The ``redis.clusters`` setting is used, unsurprisingly, to configure Redis
# clusters. These clusters can be then referred to by name when configuring
# backends such as the cache, digests, or TSDB backend.

 redis.clusters:
   default:
     hosts:
       0:
         host: 127.0.0.1
         port: 6379

The comment above gives the impression that I can but what should the cluster name be for the time series DB or the cache or the digests?
I’m assuming it would look like this,

 redis.clusters:
   default:
     hosts:
       0:
         host: 10.0.0.1
         port: 6379
   tsdb:
     hosts:
       0:
          host: 10.0.0.2
          port: 6379

Thanks in advance!

#2

I didn’t make the connection to this part of the documentation:


#3

For every service abstraction that uses Redis clusters there should be a cluster name configuration option which can be passed to the service configuration. For TSDB that option name is cluster.