mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 04:49:08 +08:00
7d49096e8c
Add prometheus metrics for components Resolves: #5325 Signed-off-by: Weida Zhu <weida.zhu@zilliz.com>
20 lines
339 B
Go
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()
|
|
}
|