Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions ring/lifecycler.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ type LifecyclerConfig struct {
RingConfig Config `yaml:"ring"`

// Config for the ingester lifecycle control
NumTokens int `yaml:"num_tokens"`
HeartbeatPeriod time.Duration `yaml:"heartbeat_period"`
ObservePeriod time.Duration `yaml:"observe_period"`
JoinAfter time.Duration `yaml:"join_after"`
MinReadyDuration time.Duration `yaml:"min_ready_duration"`
NumTokens int `yaml:"num_tokens" category:"advanced"`
HeartbeatPeriod time.Duration `yaml:"heartbeat_period" category:"advanced"`
ObservePeriod time.Duration `yaml:"observe_period" category:"advanced"`
JoinAfter time.Duration `yaml:"join_after" category:"advanced"`
MinReadyDuration time.Duration `yaml:"min_ready_duration" category:"advanced"`
InfNames []string `yaml:"interface_names"`

// FinalSleep's default value can be overridden by
// setting it before calling RegisterFlags or RegisterFlagsWithPrefix.
FinalSleep time.Duration `yaml:"final_sleep"`
FinalSleep time.Duration `yaml:"final_sleep" category:"advanced"`
TokensFilePath string `yaml:"tokens_file_path"`
Zone string `yaml:"availability_zone"`
UnregisterOnShutdown bool `yaml:"unregister_on_shutdown"`
ReadinessCheckRingHealth bool `yaml:"readiness_check_ring_health"`
UnregisterOnShutdown bool `yaml:"unregister_on_shutdown" category:"advanced"`
ReadinessCheckRingHealth bool `yaml:"readiness_check_ring_health" category:"advanced"`

// For testing, you can override the address and ID of this ingester
Addr string `yaml:"address" doc:"hidden"`
Expand Down