metrics

package
v0.4.31 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	GPUs map[sonm.GPUVendorType]gpu.MetricsHandler
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(log *zap.Logger, GPUConfig map[string]map[string]string) (*Handler, error)

func (*Handler) Close

func (m *Handler) Close() error

func (*Handler) Get

func (m *Handler) Get() *sonm.WorkerMetricsResponse

func (*Handler) Run

func (m *Handler) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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