collect

package
v0.0.0-...-3c11829 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainCollector

type DomainCollector struct {
	// contains filtered or unexported fields
}

func (DomainCollector) Collect

func (c DomainCollector) Collect(ch chan<- prometheus.Metric)

func (DomainCollector) DefaultEnabled

func (DomainCollector) DefaultEnabled() bool

func (DomainCollector) Describe

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

func (DomainCollector) Name

func (DomainCollector) Name() string

func (*DomainCollector) PromCollector

func (c *DomainCollector) PromCollector() prometheus.Collector

type PhysicalCollector

type PhysicalCollector struct {
	// contains filtered or unexported fields
}

func (PhysicalCollector) Collect

func (c PhysicalCollector) Collect(ch chan<- prometheus.Metric)

func (PhysicalCollector) DefaultEnabled

func (PhysicalCollector) DefaultEnabled() bool

func (PhysicalCollector) Describe

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

func (PhysicalCollector) Name

func (PhysicalCollector) Name() string

func (*PhysicalCollector) PromCollector

func (c *PhysicalCollector) PromCollector() prometheus.Collector

type VersionCollector

type VersionCollector struct {
	// contains filtered or unexported fields
}

func (VersionCollector) Collect

func (c VersionCollector) Collect(ch chan<- prometheus.Metric)

func (VersionCollector) DefaultEnabled

func (VersionCollector) DefaultEnabled() bool

func (VersionCollector) Describe

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

func (VersionCollector) Name

func (VersionCollector) Name() string

func (*VersionCollector) PromCollector

func (c *VersionCollector) PromCollector() prometheus.Collector

type XenPromCollector

type XenPromCollector interface {
	Name() string
	DefaultEnabled() bool
	PromCollector() prometheus.Collector
}

func NewDomainCollector

func NewDomainCollector(ctx *xenlight.Context) XenPromCollector

func NewPhysicalCollector

func NewPhysicalCollector(ctx *xenlight.Context) XenPromCollector

func NewVersionCollector

func NewVersionCollector(ctx *xenlight.Context) XenPromCollector

Jump to

Keyboard shortcuts

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