collector

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EcsClusterCollector

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

A EcsClusterCollector implements the prometheus.Collector.

func NewEcsClusterCollector

func NewEcsClusterCollector(emcecs *ecsclient.EcsClient, namespace string) (*EcsClusterCollector, error)

NewEcsClusterCollector returns an initialized Node DT Collector.

func (*EcsClusterCollector) Collect

func (e *EcsClusterCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats from a ECS VDC and returns them as Prometheus metrics. It implements prometheus.Collector.

func (*EcsClusterCollector) Describe

func (e *EcsClusterCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes the metrics exported from this collector.

type EcsMeteringCollector

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

A EcsMeteringCollector implements the prometheus.Collector.

func NewEcsMeteringCollector

func NewEcsMeteringCollector(emcecs *ecsclient.EcsClient, namespace string) (*EcsMeteringCollector, error)

NewEcsMeteringCollector returns an initialized Metering Collector.

func (*EcsMeteringCollector) Collect

func (e *EcsMeteringCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the metering information such as quota and usage from the cluster It implements prometheus.Collector.

func (*EcsMeteringCollector) Describe

func (e *EcsMeteringCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes the metrics exported from this collector.

type EcsNodeDTCollector

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

A EcsNodeDTCollector implements the prometheus.Collector.

func NewEcsNodeDTCollector

func NewEcsNodeDTCollector(emcecs *ecsclient.EcsClient, namespace string) (*EcsNodeDTCollector, error)

NewEcsNodeDTCollector returns an initialized Node DT Collector.

func (*EcsNodeDTCollector) Collect

func (e *EcsNodeDTCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats from configured nodes as Prometheus metrics. It implements prometheus.Collector.

func (*EcsNodeDTCollector) Describe

func (e *EcsNodeDTCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes the metrics exported from this collector.

type EcsReplCollector

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

A EcsReplCollector implements the prometheus.Collector.

func NewEcsReplCollector

func NewEcsReplCollector(emcecs *ecsclient.EcsClient, namespace string) (*EcsReplCollector, error)

NewEcsReplCollector returns an initialized Cluster Replication Collector.

func (*EcsReplCollector) Collect

func (e *EcsReplCollector) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats from configured ECS cluster as Prometheus metrics. It implements prometheus.Collector.

func (*EcsReplCollector) Describe

func (e *EcsReplCollector) Describe(ch chan<- *prometheus.Desc)

Describe describes the metrics exported from this collector.

Jump to

Keyboard shortcuts

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