Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectTarget ¶
func CollectTarget(target string) (map[string]*dto.MetricFamily, error)
Types ¶
type NodeMetricsService ¶
type NodeMetricsService struct {
Gatherers prometheus.Gatherers
}
func NewNodeMetricsService ¶
func NewNodeMetricsService(config types.NodeMetricsConfig) (*NodeMetricsService, error)
func (*NodeMetricsService) PromHandler ¶
func (n *NodeMetricsService) PromHandler() http.Handler
Click to show internal directories.
Click to hide internal directories.