system

package
v0.0.0-...-bbe6159 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCollector

func NewCollector(ctx context.Context, cl client.Client, tracer trace.Tracer) prometheus.Collector

NewCollector returns a new collector for system metrics

Types

type System

type System struct {
	PowerState string `json:"PowerState"`
}

func (*System) PowerUpValue

func (s *System) PowerUpValue() float64

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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