metrics

package
v1.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBadgerMetrics added in v1.4.4

func RegisterBadgerMetrics() error

Types

type Server added in v1.4.4

type Server struct {
	// contains filtered or unexported fields
}

Server is the http server that will be serving the /metrics request for prometheus.

func NewServer added in v1.4.4

func NewServer(log zerolog.Logger, address string) *Server

NewServer creates a new server that exposes metrics.

func (*Server) Start added in v1.4.4

func (s *Server) Start() error

Start registers the metrics and launches the server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL