milvus/internal/metrics/metrics_test.go
zwd1208 7d49096e8c
Add prometheus metrics (#5342)
Add prometheus metrics for components

Resolves: #5325

Signed-off-by: Weida Zhu <weida.zhu@zilliz.com>
2021-05-21 13:48:04 +00:00

20 lines
339 B
Go

package metrics
import (
"testing"
)
func TestRegisterMetrics(t *testing.T) {
// Make sure it doesn't panic.
RegisterMaster()
RegisterDataNode()
RegisterDataService()
RegisterIndexNode()
RegisterIndexService()
RegisterProxyNode()
RegisterProxyService()
RegisterQueryNode()
RegisterQueryService()
RegisterMsgStreamService()
}