fix: missing segment and partition (#14194)
This commit is contained in:
parent
11884bfb99
commit
c20d016f62
|
@ -62,7 +62,7 @@ func (c *Client) setupSerf(conf *serf.Config, ch chan serf.Event, path string) (
|
|||
return nil, err
|
||||
}
|
||||
|
||||
addSerfMetricsLabels(conf, false, "", "", "")
|
||||
addSerfMetricsLabels(conf, false, c.config.Segment, c.config.AgentEnterpriseMeta().PartitionOrDefault(), "")
|
||||
|
||||
addEnterpriseSerfTags(conf.Tags, c.config.AgentEnterpriseMeta())
|
||||
|
||||
|
|
|
@ -232,7 +232,7 @@ func (s *Server) setupSerfConfig(opts setupSerfOptions) (*serf.Config, error) {
|
|||
|
||||
conf.ReconnectTimeoutOverride = libserf.NewReconnectOverride(s.logger)
|
||||
|
||||
addSerfMetricsLabels(conf, opts.WAN, "", "", "")
|
||||
addSerfMetricsLabels(conf, opts.WAN, opts.Segment, s.config.AgentEnterpriseMeta().PartitionOrDefault(), "")
|
||||
|
||||
addEnterpriseSerfTags(conf.Tags, s.config.AgentEnterpriseMeta())
|
||||
|
||||
|
|
Loading…
Reference in New Issue