Distributor IPv6 support (#4840)

* Distributor IPv6 support

Add configuration to enable IPv6 support to distributor's ring.
This would be needed to enable a global rate strategy in a an IPv6
cluster.

* updated manifest
This commit is contained in:
Guillaume Jacquet
2025-03-13 09:44:21 -04:00
committed by GitHub
parent 75c6b302ad
commit 40661f5d6c
3 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,7 @@ configurable via the throughput_bytes_slo field, and it will populate op="traces
* [ENHANCEMENT] TraceQL: add support for querying by parent span id [#4692](https://github.com/grafana/tempo/pull/4692) (@ie-pham)
* [ENHANCEMENT] metrics-generator: allow skipping localblocks and consuming from a different source of data [#4686](https://github.com/grafana/tempo/pull/4686) (@flxbk)
* [ENHANCEMENT] compactor: restore dedicated columns logging for completed blocks
* [ENHANCEMENT] distributor: add IPv6 support [#4840](https://github.com/grafana/tempo/pull/4840) (@gjacquet)
* [BUGFIX] Choose a default step for a gRPC streaming query range request if none is provided. [#4546](https://github.com/grafana/tempo/pull/4576) (@joe-elliott)
Correctly copy exemplars for metrics like `| rate()` when gRPC streaming.
* [BUGFIX] Fix performance bottleneck and file cleanup in block builder [#4550](https://github.com/grafana/tempo/pull/4550) (@mdisibio)

View File

@ -176,6 +176,7 @@ distributor:
- en0
instance_port: 0
instance_addr: ""
enable_inet6: false
receivers: {}
override_ring_key: distributor
forwarders: []

View File

@ -27,6 +27,7 @@ type RingConfig struct {
InstanceInterfaceNames []string `yaml:"instance_interface_names"`
InstancePort int `yaml:"instance_port" doc:"hidden"`
InstanceAddr string `yaml:"instance_addr" doc:"hidden"`
EnableInet6 bool `yaml:"enable_inet6"`
// Injected internally
ListenPort int `yaml:"-"`
@ -74,6 +75,7 @@ func (cfg *RingConfig) ToLifecyclerConfig() ring.LifecyclerConfig {
lc.ListenPort = cfg.ListenPort
lc.Addr = cfg.InstanceAddr
lc.Port = cfg.InstancePort
lc.EnableInet6 = cfg.EnableInet6
lc.ID = cfg.InstanceID
lc.InfNames = cfg.InstanceInterfaceNames
lc.UnregisterOnShutdown = true