kis-flow/test/prometheus_server_test.go

16 lines
204 B
Go
Raw Permalink Normal View History

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