Register build_info metric

This commit is contained in:
ask
2023-12-15 00:10:39 -08:00
parent 41e7585637
commit 8f333354d2
+1
View File
@@ -91,6 +91,7 @@ func (srv *Server) Run() error {
g, _ := errgroup.WithContext(ctx)
g.Go(func() error {
version.RegisterMetric("dataapi", srv.metrics.Registry())
return srv.metrics.ListenAndServe(ctx, 9020)
})