collector

package
v0.0.0-...-f987cc5 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 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 Oauth2ProxyCollector

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

Oauth2ProxyCollector collects oauth2_proxy metrics. It implements prometheus.Collector interface.

func NewOauth2ProxyCollector

func NewOauth2ProxyCollector(oauth2ProxyClient *client.Oauth2ProxyClient, namespace string) *Oauth2ProxyCollector

NewOauth2ProxyCollector creates an Oauth2ProxyCollector.

func (*Oauth2ProxyCollector) Collect

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

Collect fetches metrics from oauth2_proxy and sends them to the provided channel.

func (*Oauth2ProxyCollector) Describe

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

Describe sends the super-set of all possible descriptors of oauth2_proxy metrics to the provided channel.

type OrchestratorCollector

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

OrchestratorCollector collects Orchestrator metrics. It implements prometheus.Collector interface.

func NewOrchestratorCollector

func NewOrchestratorCollector(orchestratorClient *client.OrchestratorClient, namespace string) *OrchestratorCollector

NewOrchestratorCollector creates an OrchestratorCollector.

func (*OrchestratorCollector) Collect

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

Collect fetches metrics from Orchestrator and sends them to the provided channel.

func (*OrchestratorCollector) Describe

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

Describe sends the super-set of all possible descriptors of Orchestrator metrics to the provided channel.

type OrcusCollector

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

OrcusCollector collects Orcus metrics. It implements prometheus.Collector interface.

func NewOrcusCollector

func NewOrcusCollector(orcusClient *client.OrcusClient, namespace string) *OrcusCollector

NewOrcusCollector creates an OrcusCollector.

func (*OrcusCollector) Collect

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

Collect fetches metrics from Orcus and sends them to the provided channel.

func (*OrcusCollector) Describe

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

Describe sends the super-set of all possible descriptors of Orcus metrics to the provided channel.

type XtradbCollector

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

XtradbCollector collects Xtradb cluster metrics. It implements prometheus.Collector interface.

func NewXtradbCollector

func NewXtradbCollector(xtradbClient *client.XtradbClient, namespace string) *XtradbCollector

NewXtradbCollector creates an XtradbCollector.

func (*XtradbCollector) Collect

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

Collect fetches metrics from Xtradb cluster and sends them to the provided channel.

func (*XtradbCollector) Describe

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

Describe sends the super-set of all possible descriptors of Xtradb cluster metrics to the provided channel.

Jump to

Keyboard shortcuts

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