kis-flow/test/prometheus_server_test.go

15 lines
203 B
Go
Raw Normal View History

2024-03-04 14:53:29 +08:00
package test
import (
2024-03-26 14:54:50 +08:00
"github.com/aceld/kis-flow/metrics"
2024-03-04 14:53:29 +08:00
"testing"
)
func TestPrometheusServer(t *testing.T) {
err := metrics.RunMetricsService("0.0.0.0:20004")
if err != nil {
panic(err)
}
}