metrics

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	*http.Server
}

Server implements the metrics server. The metrics server is used to serve Prometheus metrics for kobs.

func New

func New() *Server

New return a new metrics server.

func (*Server) Start

func (s *Server) Start()

Start starts serving the metrics server.

func (*Server) Stop

func (s *Server) Stop()

Stop terminates the metrics server gracefully.

Jump to

Keyboard shortcuts

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