collector

package
v0.0.0-...-c082c09 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AetosCollector

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

AetosCollector represents Aetos' dynamic metrics|labels

func NewAetosCollector

func NewAetosCollector(opts *opts.Aetos) *AetosCollector

NewAetosCollector is a function that creates a new AetosCollector

func (*AetosCollector) Collect

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

Collect is a method that implements Prometheus' Collector interface and is used to collect metrics

func (*AetosCollector) Describe

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

Describe is a method that implements Prometheus' Collector interface and is used to describe metrics

type BuildInfoCollector

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

BuildInfoCollector collects metrics, mostly runtime, about this exporter in general.

func NewBuildInfoCollector

func NewBuildInfoCollector(opts *opts.Build) *BuildInfoCollector

NewBuildInfoCollector returns a new ExporterCollector.

func (*BuildInfoCollector) Collect

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

Collect implements Prometheus' Collector interface and is used to collect metrics

func (*BuildInfoCollector) Describe

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

Describe implements Prometheus' Collector interface and is used to describe metrics

Jump to

Keyboard shortcuts

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