Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterManagementConfiguration ¶
type ClusterManagementConfiguration struct { // Etcd is the client configuration for etcd. Etcd etcdclient.Configuration `yaml:"etcd"` }
ClusterManagementConfiguration is configuration for the placemement, namespaces and database management endpoints (optional).
type Configuration ¶
type Configuration struct { // Metrics configuration. Metrics instrument.MetricsConfiguration `yaml:"metrics"` // Clusters is the DB cluster configurations for read, write and // query endpoints. Clusters local.ClustersStaticConfiguration `yaml:"clusters"` // LocalConfiguration is the local embedded configuration if running // coordinator embedded in the DB. Local *LocalConfiguration `yaml:"local"` // ClusterManagement for placemement, namespaces and database management // endpoints (optional). ClusterManagement *ClusterManagementConfiguration `yaml:"clusterManagement"` // ListenAddress is the server listen address. ListenAddress string `yaml:"listenAddress" validate:"nonzero"` // RPC is the RPC configuration. RPC *RPCConfiguration `yaml:"rpc"` // DecompressWorkerPoolCount is the number of decompression worker pools. DecompressWorkerPoolCount int `yaml:"workerPoolCount"` // DecompressWorkerPoolSize is the size of the worker pool given to each // fetch request. DecompressWorkerPoolSize int `yaml:"workerPoolSize"` }
Configuration is the configuration for the query service.
type LocalConfiguration ¶
type LocalConfiguration struct { // Namespace is the name of the local namespace to write/read from. Namespace string `yaml:"namespace" validate:"nonzero"` // Retention is the retention of the local namespace to write/read from. Retention time.Duration `yaml:"retention" validate:"nonzero"` }
LocalConfiguration is the local embedded configuration if running coordinator embedded in the DB.
type RPCConfiguration ¶
type RPCConfiguration struct { // Enabled determines if coordinator RPC is enabled for remote calls. Enabled bool `yaml:"enabled"` // ListenAddress is the RPC server listen address. ListenAddress string `yaml:"listenAddress" validate:"nonzero"` // RemoteListenAddresses is the remote listen addresses to call for remote // coordinator calls. RemoteListenAddresses []string `yaml:"remoteListenAddresses"` }
RPCConfiguration is the RPC configuration for the coordinator for the GRPC server used for remote coordinator to coordinator calls.
Click to show internal directories.
Click to hide internal directories.