collector

package
v0.0.0-...-bd95e74 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GpuClock  string = "core"
	EmmcClock string = "emmc"
	ArmClock  string = "arm"
)
View Source
const (
	CpuMemory string = "arm"
	GpuMemory string = "gpu"
)
View Source
const (
	CoreVoltage             string = "core"
	SdramControllerVoltage  string = "sdram_c"
	SdramInputOutputVoltage string = "sdram_i"
	SdramPhysicalVoltage    string = "sdram_p"
)
View Source
const (
	Throttled string = "get_throttled"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type VcGenCmdCollector

type VcGenCmdCollector struct {
	VcGenCmd         string
	DisableThrottled bool
}

func NewVcGenCmdCollector

func NewVcGenCmdCollector(cfg utils.RaspberryConfig) *VcGenCmdCollector

func (*VcGenCmdCollector) Collect

func (c *VcGenCmdCollector) Collect(channel chan<- prometheus.Metric)

func (*VcGenCmdCollector) Describe

func (c *VcGenCmdCollector) Describe(channel chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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