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 ¶
func (p *NodeMetrics) ListMetrics(req DaoMetricTypes.ListNodeMetricsRequest) (DaoMetricTypes.NodeMetricMap, error)
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 ¶
func (p *PodMetrics) ListMetrics(req DaoMetricTypes.ListPodMetricsRequest) (DaoMetricTypes.PodMetricMap, error)
ListMetrics Method implementation of PodMetricsDAO
Click to show internal directories.
Click to hide internal directories.