You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update dskit version
Signed-off-by: Michel Hollands <[email protected]>
* update changelog
Signed-off-by: Michel Hollands <[email protected]>
* Add debug printing to see interfaces in CI. This will be reverted
Signed-off-by: Michel Hollands <[email protected]>
* Add comment to remember to remove
Signed-off-by: Michel Hollands <[email protected]>
* Use netutil.PrivateNetworkInterfacesWithFallback for the other rings
Signed-off-by: Michel Hollands <[email protected]>
* Move import to place indicated by linter
Signed-off-by: Michel Hollands <[email protected]>
* Remove debug printing
Signed-off-by: Michel Hollands <[email protected]>
* Determine local interfaces in tests
Signed-off-by: Michel Hollands <[email protected]>
* Rearrange import to satify linter
Signed-off-by: Michel Hollands <[email protected]>
* Update build image in CircleCI
Signed-off-by: Michel Hollands <[email protected]>
* Change changelegog message to show customer visible changes
Signed-off-by: Michel Hollands <[email protected]>
* Add doc tag and use private network interfaces in common config
Signed-off-by: Michel Hollands <[email protected]>
* Add comment about filtered out non private IP addresses
Signed-off-by: Michel Hollands <[email protected]>
* Update the documentation of the interface names settings
Signed-off-by: Michel Hollands <[email protected]>
f.DurationVar(&cfg.HeartbeatTimeout, "distributor.ring.heartbeat-timeout", time.Minute, "The heartbeat timeout after which distributors are considered unhealthy within the ring. 0 = never (timeout disabled).")
f.Var((*flagext.StringSlice)(&cfg.InstanceInterfaceNames), "distributor.ring.instance-interface-names", "Name of network interface to read address from.")
51
52
f.StringVar(&cfg.InstanceAddr, "distributor.ring.instance-addr", "", "IP address to advertise in the ring.")
52
53
f.IntVar(&cfg.InstancePort, "distributor.ring.instance-port", 0, "Port to advertise in the ring (defaults to server.grpc-listen-port).")
f.IntVar(&cfg.MaxTransferRetries, "ingester.max-transfer-retries", 0, "Number of times to try and transfer chunks before falling back to flushing. If set to 0 or negative value, transfers are disabled.")
throwaway.StringVar(&c.InstanceAddr, "common.instance-addr", "", "Default advertised address to be used by Loki components.")
49
53
throwaway.Var((*flagext.StringSlice)(&c.InstanceInterfaceNames), "common.instance-interface-names", "List of network interfaces to read address from.")
f.DurationVar(&cfg.DNSLookupPeriod, "frontend.scheduler-dns-lookup-period", 10*time.Second, "How often to resolve the scheduler-address, in order to look for new query-scheduler instances. Also used to determine how often to poll the scheduler-ring for addresses if the scheduler-ring is configured.")
49
51
f.IntVar(&cfg.WorkerConcurrency, "frontend.scheduler-worker-concurrency", 5, "Number of concurrent workers forwarding queries to single query-scheduler.")
f.Var((*flagext.StringSlice)(&cfg.InfNames), "frontend.instance-interface-names", "Name of network interface to read address from. This address is sent to query-scheduler and querier, which uses it to send the query response back to query-frontend.")
53
55
f.StringVar(&cfg.Addr, "frontend.instance-addr", "", "IP address to advertise to querier (via scheduler) (resolved via interfaces by default).")
54
56
f.IntVar(&cfg.Port, "frontend.instance-port", 0, "Port to advertise to querier (via scheduler) (defaults to server.grpc-listen-port).")
0 commit comments