Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
View Source
const Name = "performancecounter"
Variables ¶
View Source
var ConfigDefaults = Config{ Objects: make([]Object, 0), }
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
A Collector is a Prometheus collector for performance counter metrics.
func NewWithFlags ¶
func NewWithFlags(app *kingpin.Application) *Collector
type Object ¶
type Object struct { Object string `json:"object" yaml:"object"` Instances []string `json:"instances" yaml:"instances"` Counters []Counter `json:"counters" yaml:"counters"` InstanceLabel string `json:"instance_label" yaml:"instance_label"` //nolint:tagliatelle // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.