From 270c5b050251e01bbf79bb219948ded7b26cd0bc Mon Sep 17 00:00:00 2001 From: Jiquan Long Date: Mon, 30 Jan 2023 14:05:54 +0800 Subject: [PATCH] Refine log when initialize dml channels (#21863) Signed-off-by: longjiquan --- internal/rootcoord/dml_channels.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/rootcoord/dml_channels.go b/internal/rootcoord/dml_channels.go index 9801107261..acc9a9c228 100644 --- a/internal/rootcoord/dml_channels.go +++ b/internal/rootcoord/dml_channels.go @@ -172,7 +172,9 @@ func newDmlChannels(ctx context.Context, factory msgstream.Factory, chanNamePref } heap.Init(&d.channelsHeap) - log.Debug("init dml channels", zap.Int64("num", chanNum)) + + log.Info("init dml channels", zap.String("prefix", chanNamePrefix), zap.Int64("num", chanNum)) + metrics.RootCoordNumOfDMLChannel.Add(float64(chanNum)) metrics.RootCoordNumOfMsgStream.Add(float64(chanNum))