We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56978fa commit 10c6d96Copy full SHA for 10c6d96
pkg/cluster/spec/prometheus.go
@@ -188,6 +188,7 @@ func (i *MonitorInstance) InitConfig(
188
if servers, found := topoHasField("TiFlashServers"); found {
189
for i := 0; i < servers.Len(); i++ {
190
flash := servers.Index(i).Interface().(TiFlashSpec)
191
+ uniqueHosts.Insert(flash.Host)
192
cfig.AddTiFlashLearner(flash.Host, uint64(flash.FlashProxyStatusPort))
193
cfig.AddTiFlash(flash.Host, uint64(flash.StatusPort))
194
}
0 commit comments