node_metrics

package
v0.0.0-...-154970f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2025 License: BSD-3-Clause Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

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