diff --git a/common/extension/metrics.go b/common/extension/metrics.go
index e7695c7633ecd452f5b17ef71fc41be10de9329f..42fca7a2db36614fcef31dd5ba7324a156164d4f 100644
--- a/common/extension/metrics.go
+++ b/common/extension/metrics.go
@@ -27,12 +27,12 @@ var (
 	metricReporterMap = make(map[string]func() metrics.Reporter, 4)
 )
 
-// set a reporter with the name
+// SetMetricReporter set a reporter with the name
 func SetMetricReporter(name string, reporterFunc func() metrics.Reporter) {
 	metricReporterMap[name] = reporterFunc
 }
 
-// find the reporter with name.
+// GetMetricReporter find the reporter with name.
 // if not found, it will panic.
 // we should know that this method usually is called when system starts, so we should panic
 func GetMetricReporter(name string) metrics.Reporter {