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