monitoring

package
v0.0.0-...-29e5556 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncreaseFailConsumedMsgCounter

func IncreaseFailConsumedMsgCounter(app, topic string)

func IncreaseOpsCounter

func IncreaseOpsCounter(app string)

func IncreaseSuccConsumedMsgCounter

func IncreaseSuccConsumedMsgCounter(app, topic string)

func RegisterCustomMetrics

func RegisterCustomMetrics()

Types

type Config

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

type Server

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

func New

func New() *Server

func (*Server) Shutdown

func (s *Server) Shutdown(timeout int)

func (*Server) Start

func (s *Server) Start()

Jump to

Keyboard shortcuts

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