run

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(conf config.Config, cmd *cobra.Command, logger *logger.Logger) (app.Server, error)

Types

type MonitorCollector added in v1.3.0

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

func NewMonitorCollector added in v1.3.0

func NewMonitorCollector(metricsCollector *collector.Collector) *MonitorCollector

func (*MonitorCollector) Collect added in v1.3.0

func (c *MonitorCollector) Collect(ch chan<- prometheus.Metric)

func (*MonitorCollector) Describe added in v1.3.0

func (c *MonitorCollector) Describe(ch chan<- *prometheus.Desc)

type Server

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

func (*Server) Close

func (s *Server) Close() error

Close shutdown the monitor service.

func (*Server) Err

func (s *Server) Err() <-chan error

Err returns an error channel that multiplexes all out of band errors received from all services.

func (*Server) Open

func (s *Server) Open() error

Open opens the ts-monitor service

Jump to

Keyboard shortcuts

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