mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 08:16:39 +00:00
export metrics without units
This commit is contained in:
@@ -236,7 +236,9 @@ func (s *Server) ListenAndServe(ctx context.Context, addr string) (err error) {
|
||||
s.svcPorts = make(map[types.ServiceID][]uint16)
|
||||
s.lastMappings = make(map[types.ServiceID]*proto.ProxyMapping)
|
||||
|
||||
exporter, err := prometheus.New()
|
||||
exporter, err := prometheus.New(
|
||||
prometheus.WithoutUnits(),
|
||||
)
|
||||
if err != nil {
|
||||
return fmt.Errorf("create prometheus exporter: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user