add logs for auto detecting labels
This commit is contained in:
@@ -72,6 +72,7 @@ open class EthereumLikeRpcUpstream(
|
|||||||
labelsDetector.detectLabels()
|
labelsDetector.detectLabels()
|
||||||
.toStream()
|
.toStream()
|
||||||
.forEach {
|
.forEach {
|
||||||
|
log.info("Detected label ${it.first} with value ${it.second} for upstream ${getId()}")
|
||||||
node?.labels?.let { labels ->
|
node?.labels?.let { labels ->
|
||||||
labels[it.first] = it.second
|
labels[it.first] = it.second
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user