Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractIngesterPartitionID ¶
ExtractIngesterPartitionID returns the partition ID owner the the given ingester.
Types ¶
type Config ¶
type Config struct { KVStore kv.Config `` /* 217-byte string literal not displayed */ // MinOwnersCount maps to ring.PartitionInstanceLifecyclerConfig's WaitOwnersCountOnPending. MinOwnersCount int `yaml:"min_partition_owners_count"` // MinOwnersDuration maps to ring.PartitionInstanceLifecyclerConfig's WaitOwnersDurationOnPending. MinOwnersDuration time.Duration `yaml:"min_partition_owners_duration"` // DeleteInactivePartitionAfter maps to ring.PartitionInstanceLifecyclerConfig's DeleteInactivePartitionAfterDuration. DeleteInactivePartitionAfter time.Duration `yaml:"delete_inactive_partition_after"` // contains filtered or unexported fields }
func (*Config) RegisterFlagsWithPrefix ¶
RegisterFlags adds the flags required to config this to the given FlagSet
func (*Config) ToLifecyclerConfig ¶
func (cfg *Config) ToLifecyclerConfig(partitionID int32, instanceID string) ring.PartitionInstanceLifecyclerConfig
Click to show internal directories.
Click to hide internal directories.