diff --git a/kv/memberlist/tcp_transport.go b/kv/memberlist/tcp_transport.go index eb5451878..568a96a14 100644 --- a/kv/memberlist/tcp_transport.go +++ b/kv/memberlist/tcp_transport.go @@ -51,7 +51,7 @@ type TCPTransportConfig struct { PacketWriteTimeout time.Duration `yaml:"packet_write_timeout" category:"advanced"` // Transport logs lot of messages at debug level, so it deserves an extra flag for turning it on - TransportDebug bool `yaml:"-"` + TransportDebug bool `yaml:"-" category:"advanced"` // Where to put custom metrics. nil = don't register. MetricsRegisterer prometheus.Registerer `yaml:"-"` diff --git a/ring/ring.go b/ring/ring.go index 5553c6b72..6c7e4a49f 100644 --- a/ring/ring.go +++ b/ring/ring.go @@ -123,10 +123,10 @@ var ( // Config for a Ring type Config struct { KVStore kv.Config `yaml:"kvstore"` - HeartbeatTimeout time.Duration `yaml:"heartbeat_timeout"` + HeartbeatTimeout time.Duration `yaml:"heartbeat_timeout" category:"advanced"` ReplicationFactor int `yaml:"replication_factor"` ZoneAwarenessEnabled bool `yaml:"zone_awareness_enabled"` - ExcludedZones flagext.StringSliceCSV `yaml:"excluded_zones"` + ExcludedZones flagext.StringSliceCSV `yaml:"excluded_zones" category:"advanced"` // Whether the shuffle-sharding subring cache is disabled. This option is set // internally and never exposed to the user.