metrics

package
v0.13.13 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetricsHTTPListenerServer added in v0.7.0

func NewMetricsHTTPListenerServer(addr string) error

NewListener creates a new TCP listener bound to the given address.

Types

type Server

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

func NewServer

func NewServer(ctx context.Context, opts ...ServerOpt) (*Server, error)

func (*Server) CollectDaemonResourceMetrics added in v0.7.0

func (s *Server) CollectDaemonResourceMetrics(_ context.Context)

func (*Server) CollectFsMetrics added in v0.5.0

func (s *Server) CollectFsMetrics(ctx context.Context)

func (*Server) CollectInflightMetrics added in v0.6.0

func (s *Server) CollectInflightMetrics(ctx context.Context)

func (*Server) StartCollectMetrics added in v0.5.0

func (s *Server) StartCollectMetrics(ctx context.Context) error

type ServerOpt

type ServerOpt func(*Server) error

func WithProcessManagers added in v0.12.0

func WithProcessManagers(managers []*manager.Manager) ServerOpt

Directories

Path Synopsis
ttl

Jump to

Keyboard shortcuts

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