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) ListMetrics ¶
func (p *NodeMetrics) ListMetrics(req DaoMetricTypes.ListNodeMetricsRequest) (DaoMetricTypes.NodesMetricMap, error)
ListMetrics Method implementation of NodeMetricsDAO
type PodMetrics ¶
type PodMetrics struct {
PrometheusConfig InternalPromth.Config
}
func (*PodMetrics) ListMetrics ¶
func (p *PodMetrics) ListMetrics(req DaoMetricTypes.ListPodMetricsRequest) (DaoMetricTypes.PodsMetricMap, error)
ListMetrics Method implementation of PodMetricsDAO
Click to show internal directories.
Click to hide internal directories.