processor

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect

func Collect(parentPath string, cc *common.CollectorContext)

Collect collects processor metrics

func Describe

func Describe(ch chan<- *prometheus.Desc)

Describe describes all metrics for the processor package

Types

type Processor

type Processor struct {
	Socket       string        `json:"Socket"`
	Model        string        `json:"Model"`
	TotalCores   float64       `json:"TotalCores"`
	TotalThreads float64       `json:"TotalThreads"`
	Status       common.Status `json:"Status"`
}

Jump to

Keyboard shortcuts

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