prometheus

package
v4.2.509+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNodeMetricsWithConfig

func NewNodeMetricsWithConfig(config InternalPromth.Config) DaoMetricTypes.NodeMetricsDAO

NewNodeMetricsWithConfig Constructor of prometheus node metric dao

func NewPodMetricsWithConfig

func NewPodMetricsWithConfig(config InternalPromth.Config) DaoMetricTypes.PodMetricsDAO

NewPodMetricsWithConfig Constructor of prometheus pod metric dao

Types

type NodeMetrics

type NodeMetrics struct {
	PrometheusConfig InternalPromth.Config
}

func (*NodeMetrics) CreateMetrics

func (p *NodeMetrics) CreateMetrics(metrics DaoMetricTypes.NodeMetricMap) error

CreateMetrics Method implementation of NodeMetricsDAO

func (*NodeMetrics) ListMetrics

ListMetrics Method implementation of NodeMetricsDAO

type PodMetrics

type PodMetrics struct {
	PrometheusConfig InternalPromth.Config
}

func (*PodMetrics) CreateMetrics

func (p *PodMetrics) CreateMetrics(metrics DaoMetricTypes.PodMetricMap) error

CreateMetrics Method implementation of PodMetricsDAO

func (*PodMetrics) ListMetrics

ListMetrics Method implementation of PodMetricsDAO

Jump to

Keyboard shortcuts

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