system

package
v0.0.0-...-3283bf7 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 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"`
	UUID         string `json:"UUID"`
	SerialNumber string `json:"SerialNumber"`
	SKU          string `json:"SKU"`
	Model        string `json:"Model"`
	HostName     string `json:"HostName"`
	BiosVersion  string `json:"BiosVersion"`
}

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