2021-05-21 21:48:04 +08:00
|
|
|
package metrics
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestRegisterMetrics(t *testing.T) {
|
|
|
|
// Make sure it doesn't panic.
|
2021-06-17 16:47:57 +08:00
|
|
|
RegisterRootCoord()
|
2021-05-21 21:48:04 +08:00
|
|
|
RegisterDataNode()
|
2021-06-17 16:47:57 +08:00
|
|
|
RegisterDataCoord()
|
2021-05-21 21:48:04 +08:00
|
|
|
RegisterIndexNode()
|
2021-06-17 16:47:57 +08:00
|
|
|
RegisterIndexCoord()
|
2021-06-22 18:32:08 +08:00
|
|
|
RegisterProxy()
|
2021-05-21 21:48:04 +08:00
|
|
|
RegisterQueryNode()
|
2021-06-17 16:47:57 +08:00
|
|
|
RegisterQueryCoord()
|
|
|
|
RegisterMsgStreamCoord()
|
2021-05-21 21:48:04 +08:00
|
|
|
}
|